unsigned short Td[1 << 8][1 << 8] = {{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0},{0,128,128,192,128,160,192,224,128,144,160,176,192,208,224,240,128,136,144,152,160,168,176,184,192,200,208,216,224,232,240,248,128,132,136,140,144,148,152,156,160,164,168,172,176,180,184,188,192,196,200,204,208,212,216,220,224,228,232,236,240,244,248,252,0,128,128,192,128,160,192,224,128,144,160,176,192,208,224,240,128,136,144,152,160,168,176,184,192,200,208,216,224,232,240,248,128,132,136,140,144,148,152,156,160,164,168,172,176,180,184,188,192,196,200,204,208,212,216,220,224,228,232,236,240,244,248,252,0,128,128,192,128,160,192,224,128,144,160,176,192,208,224,240,128,136,144,152,160,168,176,184,192,200,208,216,224,232,240,248,128,132,136,140,144,148,152,156,160,164,168,172,176,180,184,188,192,196,200,204,208,212,216,220,224,228,232,236,240,244,248,252,0,128,128,192,128,160,192,224,128,144,160,176,192,208,224,240,128,136,144,152,160,168,176,184,192,200,208,216,224,232,240,248,128,132,136,140,144,148,152,156,160,164,168,172,176,180,184,188,192,196,200,204,208,212,216,220,224,228,232,236,240,244,248,252},{0,128,128,192,128,160,192,224,128,144,160,176,192,208,224,240,128,136,144,152,160,168,176,184,192,200,208,216,224,232,240,248,128,132,136,140,144,148,152,156,160,164,168,172,176,180,184,188,192,196,200,204,208,212,216,220,224,228,232,236,240,244,248,252,128,130,132,134,136,138,140,142,144,146,148,150,152,154,156,158,160,162,164,166,168,170,172,174,176,178,180,182,184,186,188,190,192,194,196,198,200,202,204,206,208,210,212,214,216,218,220,222,224,226,228,230,232,234,236,238,240,242,244,246,248,250,252,254,0,128,128,192,128,160,192,224,128,144,160,176,192,208,224,240,128,136,144,152,160,168,176,184,192,200,208,216,224,232,240,248,128,132,136,140,144,148,152,156,160,164,168,172,176,180,184,188,192,196,200,204,208,212,216,220,224,228,232,236,240,244,248,252,128,130,132,134,136,138,140,142,144,146,148,150,152,154,156,158,160,162,164,166,168,170,172,174,176,178,180,182,184,186,188,190,192,194,196,198,200,202,204,206,208,210,212,214,216,218,220,222,224,226,228,230,232,234,236,238,240,242,244,246,248,250,252,254},{0,255,255,128,255,192,128,191,255,224,192,223,128,159,191,160,255,240,224,239,192,207,223,208,128,143,159,144,191,176,160,175,255,248,240,247,224,231,239,232,192,199,207,200,223,216,208,215,128,135,143,136,159,152,144,151,191,184,176,183,160,167,175,168,255,252,248,251,240,243,247,244,224,227,231,228,239,236,232,235,192,195,199,196,207,204,200,203,223,220,216,219,208,211,215,212,128,131,135,132,143,140,136,139,159,156,152,155,144,147,151,148,191,188,184,187,176,179,183,180,160,163,167,164,175,172,168,171,255,252,248,251,240,243,247,244,224,227,231,228,239,236,232,235,192,195,199,196,207,204,200,203,223,220,216,219,208,211,215,212,128,131,135,132,143,140,136,139,159,156,152,155,144,147,151,148,191,188,184,187,176,179,183,180,160,163,167,164,175,172,168,171,0,255,255,128,255,192,128,191,255,224,192,223,128,159,191,160,255,240,224,239,192,207,223,208,128,143,159,144,191,176,160,175,255,248,240,247,224,231,239,232,192,199,207,200,223,216,208,215,128,135,143,136,159,152,144,151,191,184,176,183,160,167,175,168},{0,128,128,192,128,160,192,224,128,144,160,176,192,208,224,240,128,136,144,152,160,168,176,184,192,200,208,216,224,232,240,248,128,132,136,140,144,148,152,156,160,164,168,172,176,180,184,188,192,196,200,204,208,212,216,220,224,228,232,236,240,244,248,252,128,130,132,134,136,138,140,142,144,146,148,150,152,154,156,158,160,162,164,166,168,170,172,174,176,178,180,182,184,186,188,190,192,194,196,198,200,202,204,206,208,210,212,214,216,218,220,222,224,226,228,230,232,234,236,238,240,242,244,246,248,250,252,254,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255},{0,170,170,255,170,128,255,213,170,191,128,149,255,234,213,192,170,160,191,181,128,138,149,159,255,245,234,224,213,223,192,202,170,175,160,165,191,186,181,176,128,133,138,143,149,144,159,154,255,250,245,240,234,239,224,229,213,208,223,218,192,197,202,207,170,168,175,173,160,162,165,167,191,189,186,184,181,183,176,178,128,130,133,135,138,136,143,141,149,151,144,146,159,157,154,152,255,253,250,248,245,247,240,242,234,232,239,237,224,226,229,231,213,215,208,210,223,221,218,216,192,194,197,199,202,200,207,205,170,171,168,169,175,174,173,172,160,161,162,163,165,164,167,166,191,190,189,188,186,187,184,185,181,180,183,182,176,177,178,179,128,129,130,131,133,132,135,134,138,139,136,137,143,142,141,140,149,148,151,150,144,145,146,147,159,158,157,156,154,155,152,153,255,254,253,252,250,251,248,249,245,244,247,246,240,241,242,243,234,235,232,233,239,238,237,236,224,225,226,227,229,228,231,230,213,212,215,214,208,209,210,211,223,222,221,220,218,219,216,217,192,193,194,195,197,196,199,198,202,203,200,201,207,206,205,204},{0,255,255,128,255,192,128,191,255,224,192,223,128,159,191,160,255,240,224,239,192,207,223,208,128,143,159,144,191,176,160,175,255,248,240,247,224,231,239,232,192,199,207,200,223,216,208,215,128,135,143,136,159,152,144,151,191,184,176,183,160,167,175,168,255,252,248,251,240,243,247,244,224,227,231,228,239,236,232,235,192,195,199,196,207,204,200,203,223,220,216,219,208,211,215,212,128,131,135,132,143,140,136,139,159,156,152,155,144,147,151,148,191,188,184,187,176,179,183,180,160,163,167,164,175,172,168,171,255,254,252,253,248,249,251,250,240,241,243,242,247,246,244,245,224,225,227,226,231,230,228,229,239,238,236,237,232,233,235,234,192,193,195,194,199,198,196,197,207,206,204,205,200,201,203,202,223,222,220,221,216,217,219,218,208,209,211,210,215,214,212,213,128,129,131,130,135,134,132,133,143,142,140,141,136,137,139,138,159,158,156,157,152,153,155,154,144,145,147,146,151,150,148,149,191,190,188,189,184,185,187,186,176,177,179,178,183,182,180,181,160,161,163,162,167,166,164,165,175,174,172,173,168,169,171,170},{0,219,219,182,219,237,182,128,219,192,237,246,182,173,128,155,219,214,192,205,237,224,246,251,182,187,173,160,128,141,155,150,219,221,214,208,192,198,205,203,237,235,224,230,246,240,251,253,182,176,187,189,173,171,160,166,128,134,141,139,155,157,150,144,219,216,221,222,214,213,208,211,192,195,198,197,205,206,203,200,237,238,235,232,224,227,230,229,246,245,240,243,251,248,253,254,182,181,176,179,187,184,189,190,173,174,171,168,160,163,166,165,128,131,134,133,141,142,139,136,155,152,157,158,150,149,144,147,219,218,216,217,221,220,222,223,214,215,213,212,208,209,211,210,192,193,195,194,198,199,197,196,205,204,206,207,203,202,200,201,237,236,238,239,235,234,232,233,224,225,227,226,230,231,229,228,246,247,245,244,240,241,243,242,251,250,248,249,253,252,254,255,182,183,181,180,176,177,179,178,187,186,184,185,189,188,190,191,173,172,174,175,171,170,168,169,160,161,163,162,166,167,165,164,128,129,131,130,134,135,133,132,141,140,142,143,139,138,136,137,155,154,152,153,157,156,158,159,150,151,149,148,144,145,147,146},{0,128,128,192,128,160,192,224,128,144,160,176,192,208,224,240,128,136,144,152,160,168,176,184,192,200,208,216,224,232,240,248,128,132,136,140,144,148,152,156,160,164,168,172,176,180,184,188,192,196,200,204,208,212,216,220,224,228,232,236,240,244,248,252,128,130,132,134,136,138,140,142,144,146,148,150,152,154,156,158,160,162,164,166,168,170,172,174,176,178,180,182,184,186,188,190,192,194,196,198,200,202,204,206,208,210,212,214,216,218,220,222,224,226,228,230,232,234,236,238,240,242,244,246,248,250,252,254,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255},{0,146,146,219,146,182,219,255,146,128,182,164,219,201,255,237,146,155,128,137,182,191,164,173,219,210,201,192,255,246,237,228,146,150,155,159,128,132,137,141,182,178,191,187,164,160,173,169,219,223,210,214,201,205,192,196,255,251,246,242,237,233,228,224,146,144,150,148,155,153,159,157,128,130,132,134,137,139,141,143,182,180,178,176,191,189,187,185,164,166,160,162,173,175,169,171,219,217,223,221,210,208,214,212,201,203,205,207,192,194,196,198,255,253,251,249,246,244,242,240,237,239,233,235,228,230,224,226,146,147,144,145,150,151,148,149,155,154,153,152,159,158,157,156,128,129,130,131,132,133,134,135,137,136,139,138,141,140,143,142,182,183,180,181,178,179,176,177,191,190,189,188,187,186,185,184,164,165,166,167,160,161,162,163,173,172,175,174,169,168,171,170,219,218,217,216,223,222,221,220,210,211,208,209,214,215,212,213,201,200,203,202,205,204,207,206,192,193,194,195,196,197,198,199,255,254,253,252,251,250,249,248,246,247,244,245,242,243,240,241,237,236,239,238,233,232,235,234,228,229,230,231,224,225,226,227},{0,170,170,255,170,128,255,213,170,191,128,149,255,234,213,192,170,160,191,181,128,138,149,159,255,245,234,224,213,223,192,202,170,175,160,165,191,186,181,176,128,133,138,143,149,144,159,154,255,250,245,240,234,239,224,229,213,208,223,218,192,197,202,207,170,168,175,173,160,162,165,167,191,189,186,184,181,183,176,178,128,130,133,135,138,136,143,141,149,151,144,146,159,157,154,152,255,253,250,248,245,247,240,242,234,232,239,237,224,226,229,231,213,215,208,210,223,221,218,216,192,194,197,199,202,200,207,205,170,171,168,169,175,174,173,172,160,161,162,163,165,164,167,166,191,190,189,188,186,187,184,185,181,180,183,182,176,177,178,179,128,129,130,131,133,132,135,134,138,139,136,137,143,142,141,140,149,148,151,150,144,145,146,147,159,158,157,156,154,155,152,153,255,254,253,252,250,251,248,249,245,244,247,246,240,241,242,243,234,235,232,233,239,238,237,236,224,225,226,227,229,228,231,230,213,212,215,214,208,209,210,211,223,222,221,220,218,219,216,217,192,193,194,195,197,196,199,198,202,203,200,201,207,206,205,204},{0,185,185,229,185,151,229,203,185,174,151,128,229,242,203,220,185,178,174,165,151,156,128,139,229,238,242,249,203,192,220,215,185,188,178,183,174,171,165,160,151,146,156,153,128,133,139,142,229,224,238,235,242,247,249,252,203,206,192,197,220,217,215,210,185,187,188,190,178,176,183,181,174,172,171,169,165,167,160,162,151,149,146,144,156,158,153,155,128,130,133,135,139,137,142,140,229,231,224,226,238,236,235,233,242,240,247,245,249,251,252,254,203,201,206,204,192,194,197,199,220,222,217,219,215,213,210,208,185,184,187,186,188,189,190,191,178,179,176,177,183,182,181,180,174,175,172,173,171,170,169,168,165,164,167,166,160,161,162,163,151,150,149,148,146,147,144,145,156,157,158,159,153,152,155,154,128,129,130,131,133,132,135,134,139,138,137,136,142,143,140,141,229,228,231,230,224,225,226,227,238,239,236,237,235,234,233,232,242,243,240,241,247,246,245,244,249,248,251,250,252,253,254,255,203,202,201,200,206,207,204,205,192,193,194,195,197,196,199,198,220,221,222,223,217,216,219,218,215,214,213,212,210,211,208,209},{0,255,255,128,255,192,128,191,255,224,192,223,128,159,191,160,255,240,224,239,192,207,223,208,128,143,159,144,191,176,160,175,255,248,240,247,224,231,239,232,192,199,207,200,223,216,208,215,128,135,143,136,159,152,144,151,191,184,176,183,160,167,175,168,255,252,248,251,240,243,247,244,224,227,231,228,239,236,232,235,192,195,199,196,207,204,200,203,223,220,216,219,208,211,215,212,128,131,135,132,143,140,136,139,159,156,152,155,144,147,151,148,191,188,184,187,176,179,183,180,160,163,167,164,175,172,168,171,255,254,252,253,248,249,251,250,240,241,243,242,247,246,244,245,224,225,227,226,231,230,228,229,239,238,236,237,232,233,235,234,192,193,195,194,199,198,196,197,207,206,204,205,200,201,203,202,223,222,220,221,216,217,219,218,208,209,211,210,215,214,212,213,128,129,131,130,135,134,132,133,143,142,140,141,136,137,139,138,159,158,156,157,152,153,155,154,144,145,147,146,151,150,148,149,191,190,188,189,184,185,187,186,176,177,179,178,183,182,180,181,160,161,163,162,167,166,164,165,175,174,172,173,168,169,171,170},{0,233,233,157,233,211,157,167,233,244,211,206,157,128,167,186,233,231,244,250,211,221,206,192,157,147,128,142,167,169,186,180,233,238,231,224,244,243,250,253,211,212,221,218,206,201,192,199,157,154,147,148,128,135,142,137,167,160,169,174,186,189,180,179,233,234,238,237,231,228,224,227,244,247,243,240,250,249,253,254,211,208,212,215,221,222,218,217,206,205,201,202,192,195,199,196,157,158,154,153,147,144,148,151,128,131,135,132,142,141,137,138,167,164,160,163,169,170,174,173,186,185,189,190,180,183,179,176,233,232,234,235,238,239,237,236,231,230,228,229,224,225,227,226,244,245,247,246,243,242,240,241,250,251,249,248,253,252,254,255,211,210,208,209,212,213,215,214,221,220,222,223,218,219,217,216,206,207,205,204,201,200,202,203,192,193,195,194,199,198,196,197,157,156,158,159,154,155,153,152,147,146,144,145,148,149,151,150,128,129,131,130,135,134,132,133,142,143,141,140,137,136,138,139,167,166,164,165,160,161,163,162,169,168,170,171,174,175,173,172,186,187,185,184,189,188,190,191,180,181,183,182,179,178,176,177},{0,219,219,182,219,237,182,128,219,192,237,246,182,173,128,155,219,214,192,205,237,224,246,251,182,187,173,160,128,141,155,150,219,221,214,208,192,198,205,203,237,235,224,230,246,240,251,253,182,176,187,189,173,171,160,166,128,134,141,139,155,157,150,144,219,216,221,222,214,213,208,211,192,195,198,197,205,206,203,200,237,238,235,232,224,227,230,229,246,245,240,243,251,248,253,254,182,181,176,179,187,184,189,190,173,174,171,168,160,163,166,165,128,131,134,133,141,142,139,136,155,152,157,158,150,149,144,147,219,218,216,217,221,220,222,223,214,215,213,212,208,209,211,210,192,193,195,194,198,199,197,196,205,204,206,207,203,202,200,201,237,236,238,239,235,234,232,233,224,225,227,226,230,231,229,228,246,247,245,244,240,241,243,242,251,250,248,249,253,252,254,255,182,183,181,180,176,177,179,178,187,186,184,185,189,188,190,191,173,172,174,175,171,170,168,169,160,161,163,162,166,167,165,164,128,129,131,130,134,135,133,132,141,140,142,143,139,138,136,137,155,154,152,153,157,156,158,159,150,151,149,148,144,145,147,146},{0,204,204,170,204,255,170,153,204,213,255,230,170,179,153,128,204,192,213,217,255,243,230,234,170,166,179,191,153,149,128,140,204,202,192,198,213,211,217,223,255,249,243,245,230,224,234,236,170,172,166,160,179,181,191,185,153,159,149,147,128,134,140,138,204,207,202,201,192,195,198,197,213,214,211,208,217,218,223,220,255,252,249,250,243,240,245,246,230,229,224,227,234,233,236,239,170,169,172,175,166,165,160,163,179,176,181,182,191,188,185,186,153,154,159,156,149,150,147,144,128,131,134,133,140,143,138,137,204,205,207,206,202,203,201,200,192,193,195,194,198,199,197,196,213,212,214,215,211,210,208,209,217,216,218,219,223,222,220,221,255,254,252,253,249,248,250,251,243,242,240,241,245,244,246,247,230,231,229,228,224,225,227,226,234,235,233,232,236,237,239,238,170,171,169,168,172,173,175,174,166,167,165,164,160,161,163,162,179,178,176,177,181,180,182,183,191,190,188,189,185,184,186,187,153,152,154,155,159,158,156,157,149,148,150,151,147,146,144,145,128,129,131,130,134,135,133,132,140,141,143,142,138,139,137,136},{0,64,128,192,128,160,192,224,128,144,160,176,192,208,224,240,128,136,144,152,160,168,176,184,192,200,208,216,224,232,240,248,128,132,136,140,144,148,152,156,160,164,168,172,176,180,184,188,192,196,200,204,208,212,216,220,224,228,232,236,240,244,248,252,128,130,132,134,136,138,140,142,144,146,148,150,152,154,156,158,160,162,164,166,168,170,172,174,176,178,180,182,184,186,188,190,192,194,196,198,200,202,204,206,208,210,212,214,216,218,220,222,224,226,228,230,232,234,236,238,240,242,244,246,248,250,252,254,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255},{0,68,136,204,136,170,204,238,136,153,170,187,204,221,238,255,136,128,153,145,170,162,187,179,204,196,221,213,238,230,255,247,136,140,128,132,153,157,145,149,170,174,162,166,187,191,179,183,204,200,196,192,221,217,213,209,238,234,230,226,255,251,247,243,136,138,140,142,128,130,132,134,153,155,157,159,145,147,149,151,170,168,174,172,162,160,166,164,187,185,191,189,179,177,183,181,204,206,200,202,196,198,192,194,221,223,217,219,213,215,209,211,238,236,234,232,230,228,226,224,255,253,251,249,247,245,243,241,136,137,138,139,140,141,142,143,128,129,130,131,132,133,134,135,153,152,155,154,157,156,159,158,145,144,147,146,149,148,151,150,170,171,168,169,174,175,172,173,162,163,160,161,166,167,164,165,187,186,185,184,191,190,189,188,179,178,177,176,183,182,181,180,204,205,206,207,200,201,202,203,196,197,198,199,192,193,194,195,221,220,223,222,217,216,219,218,213,212,215,214,209,208,211,210,238,239,236,237,234,235,232,233,230,231,228,229,226,227,224,225,255,254,253,252,251,250,249,248,247,246,245,244,243,242,241,240},{0,73,146,219,146,182,219,255,146,128,182,164,219,201,255,237,146,155,128,137,182,191,164,173,219,210,201,192,255,246,237,228,146,150,155,159,128,132,137,141,182,178,191,187,164,160,173,169,219,223,210,214,201,205,192,196,255,251,246,242,237,233,228,224,146,144,150,148,155,153,159,157,128,130,132,134,137,139,141,143,182,180,178,176,191,189,187,185,164,166,160,162,173,175,169,171,219,217,223,221,210,208,214,212,201,203,205,207,192,194,196,198,255,253,251,249,246,244,242,240,237,239,233,235,228,230,224,226,146,147,144,145,150,151,148,149,155,154,153,152,159,158,157,156,128,129,130,131,132,133,134,135,137,136,139,138,141,140,143,142,182,183,180,181,178,179,176,177,191,190,189,188,187,186,185,184,164,165,166,167,160,161,162,163,173,172,175,174,169,168,171,170,219,218,217,216,223,222,221,220,210,211,208,209,214,215,212,213,201,200,203,202,205,204,207,206,192,193,194,195,196,197,198,199,255,254,253,252,251,250,249,248,246,247,244,245,242,243,240,241,237,236,239,238,233,232,235,234,228,229,230,231,224,225,226,227},{0,77,154,215,154,188,215,241,154,137,188,175,215,196,241,226,154,147,137,128,188,181,175,166,215,222,196,205,241,248,226,235,154,158,147,151,137,141,128,132,188,184,181,177,175,171,166,162,215,211,222,218,196,192,205,201,241,245,248,252,226,230,235,239,154,152,158,156,147,145,151,149,137,139,141,143,128,130,132,134,188,190,184,186,181,183,177,179,175,173,171,169,166,164,162,160,215,213,211,209,222,220,218,216,196,198,192,194,205,207,201,203,241,243,245,247,248,250,252,254,226,224,230,228,235,233,239,237,154,155,152,153,158,159,156,157,147,146,145,144,151,150,149,148,137,136,139,138,141,140,143,142,128,129,130,131,132,133,134,135,188,189,190,191,184,185,186,187,181,180,183,182,177,176,179,178,175,174,173,172,171,170,169,168,166,167,164,165,162,163,160,161,215,214,213,212,211,210,209,208,222,223,220,221,218,219,216,217,196,197,198,199,192,193,194,195,205,204,207,206,201,200,203,202,241,240,243,242,245,244,247,246,248,249,250,251,252,253,254,255,226,227,224,225,230,231,228,229,235,234,233,232,239,238,237,236},{0,85,170,255,170,128,255,213,170,191,128,149,255,234,213,192,170,160,191,181,128,138,149,159,255,245,234,224,213,223,192,202,170,175,160,165,191,186,181,176,128,133,138,143,149,144,159,154,255,250,245,240,234,239,224,229,213,208,223,218,192,197,202,207,170,168,175,173,160,162,165,167,191,189,186,184,181,183,176,178,128,130,133,135,138,136,143,141,149,151,144,146,159,157,154,152,255,253,250,248,245,247,240,242,234,232,239,237,224,226,229,231,213,215,208,210,223,221,218,216,192,194,197,199,202,200,207,205,170,171,168,169,175,174,173,172,160,161,162,163,165,164,167,166,191,190,189,188,186,187,184,185,181,180,183,182,176,177,178,179,128,129,130,131,133,132,135,134,138,139,136,137,143,142,141,140,149,148,151,150,144,145,146,147,159,158,157,156,154,155,152,153,255,254,253,252,250,251,248,249,245,244,247,246,240,241,242,243,234,235,232,233,239,238,237,236,224,225,226,227,229,228,231,230,213,212,215,214,208,209,210,211,223,222,221,220,218,219,216,217,192,193,194,195,197,196,199,198,202,203,200,201,207,206,205,204},{0,81,162,243,162,138,243,219,162,182,138,158,243,231,219,207,162,168,182,188,138,128,158,148,243,249,231,237,219,209,207,197,162,167,168,173,182,179,188,185,138,143,128,133,158,155,148,145,243,246,249,252,231,226,237,232,219,222,209,212,207,202,197,192,162,160,167,165,168,170,173,175,182,180,179,177,188,190,185,187,138,136,143,141,128,130,133,135,158,156,155,153,148,150,145,147,243,241,246,244,249,251,252,254,231,229,226,224,237,239,232,234,219,217,222,220,209,211,212,214,207,205,202,200,197,199,192,194,162,163,160,161,167,166,165,164,168,169,170,171,173,172,175,174,182,183,180,181,179,178,177,176,188,189,190,191,185,184,187,186,138,139,136,137,143,142,141,140,128,129,130,131,133,132,135,134,158,159,156,157,155,154,153,152,148,149,150,151,145,144,147,146,243,242,241,240,246,247,244,245,249,248,251,250,252,253,254,255,231,230,229,228,226,227,224,225,237,236,239,238,232,233,234,235,219,218,217,216,222,223,220,221,209,208,211,210,212,213,214,215,207,206,205,204,202,203,200,201,197,196,199,198,192,193,194,195},{0,92,185,229,185,151,229,203,185,174,151,128,229,242,203,220,185,178,174,165,151,156,128,139,229,238,242,249,203,192,220,215,185,188,178,183,174,171,165,160,151,146,156,153,128,133,139,142,229,224,238,235,242,247,249,252,203,206,192,197,220,217,215,210,185,187,188,190,178,176,183,181,174,172,171,169,165,167,160,162,151,149,146,144,156,158,153,155,128,130,133,135,139,137,142,140,229,231,224,226,238,236,235,233,242,240,247,245,249,251,252,254,203,201,206,204,192,194,197,199,220,222,217,219,215,213,210,208,185,184,187,186,188,189,190,191,178,179,176,177,183,182,181,180,174,175,172,173,171,170,169,168,165,164,167,166,160,161,162,163,151,150,149,148,146,147,144,145,156,157,158,159,153,152,155,154,128,129,130,131,133,132,135,134,139,138,137,136,142,143,140,141,229,228,231,230,224,225,226,227,238,239,236,237,235,234,233,232,242,243,240,241,247,246,245,244,249,248,251,250,252,253,254,255,203,202,201,200,206,207,204,205,192,193,194,195,197,196,199,198,220,221,222,223,217,216,219,218,215,214,213,212,210,211,208,209},{0,88,177,233,177,157,233,197,177,167,157,139,233,255,197,211,177,186,167,172,157,150,139,128,233,226,255,244,197,206,211,216,177,180,186,191,167,162,172,169,157,152,150,147,139,142,128,133,233,236,226,231,255,250,244,241,197,192,206,203,211,214,216,221,177,179,180,182,186,184,191,189,167,165,162,160,172,174,169,171,157,159,152,154,150,148,147,145,139,137,142,140,128,130,133,135,233,235,236,238,226,224,231,229,255,253,250,248,244,246,241,243,197,199,192,194,206,204,203,201,211,209,214,212,216,218,221,223,177,176,179,178,180,181,182,183,186,187,184,185,191,190,189,188,167,166,165,164,162,163,160,161,172,173,174,175,169,168,171,170,157,156,159,158,152,153,154,155,150,151,148,149,147,146,145,144,139,138,137,136,142,143,140,141,128,129,130,131,133,132,135,134,233,232,235,234,236,237,238,239,226,227,224,225,231,230,229,228,255,254,253,252,250,251,248,249,244,245,246,247,241,240,243,242,197,196,199,198,192,193,194,195,206,207,204,205,203,202,201,200,211,210,209,208,214,215,212,213,216,217,218,219,221,220,223,222},{0,127,255,128,255,192,128,191,255,224,192,223,128,159,191,160,255,240,224,239,192,207,223,208,128,143,159,144,191,176,160,175,255,248,240,247,224,231,239,232,192,199,207,200,223,216,208,215,128,135,143,136,159,152,144,151,191,184,176,183,160,167,175,168,255,252,248,251,240,243,247,244,224,227,231,228,239,236,232,235,192,195,199,196,207,204,200,203,223,220,216,219,208,211,215,212,128,131,135,132,143,140,136,139,159,156,152,155,144,147,151,148,191,188,184,187,176,179,183,180,160,163,167,164,175,172,168,171,255,254,252,253,248,249,251,250,240,241,243,242,247,246,244,245,224,225,227,226,231,230,228,229,239,238,236,237,232,233,235,234,192,193,195,194,199,198,196,197,207,206,204,205,200,201,203,202,223,222,220,221,216,217,219,218,208,209,211,210,215,214,212,213,128,129,131,130,135,134,132,133,143,142,140,141,136,137,139,138,159,158,156,157,152,153,155,154,144,145,147,146,151,150,148,149,191,190,188,189,184,185,187,186,176,177,179,178,183,182,180,181,160,161,163,162,167,166,164,165,175,174,172,173,168,169,171,170},{0,122,245,143,245,200,143,178,245,235,200,214,143,145,178,172,245,250,235,228,200,199,214,217,143,128,145,158,178,189,172,163,245,242,250,253,235,236,228,227,200,207,199,192,214,209,217,222,143,136,128,135,145,150,158,153,178,181,189,186,172,171,163,164,245,246,242,241,250,249,253,254,235,232,236,239,228,231,227,224,200,203,207,204,199,196,192,195,214,213,209,210,217,218,222,221,143,140,136,139,128,131,135,132,145,146,150,149,158,157,153,154,178,177,181,182,189,190,186,185,172,175,171,168,163,160,164,167,245,244,246,247,242,243,241,240,250,251,249,248,253,252,254,255,235,234,232,233,236,237,239,238,228,229,231,230,227,226,224,225,200,201,203,202,207,206,204,205,199,198,196,197,192,193,195,194,214,215,213,212,209,208,210,211,217,216,218,219,222,223,221,220,143,142,140,141,136,137,139,138,128,129,131,130,135,134,132,133,145,144,146,147,150,151,149,148,158,159,157,156,153,152,154,155,178,179,177,176,181,180,182,183,189,188,190,191,186,187,185,184,172,173,175,174,171,170,168,169,163,162,160,161,164,165,167,166},{0,116,233,157,233,211,157,167,233,244,211,206,157,128,167,186,233,231,244,250,211,221,206,192,157,147,128,142,167,169,186,180,233,238,231,224,244,243,250,253,211,212,221,218,206,201,192,199,157,154,147,148,128,135,142,137,167,160,169,174,186,189,180,179,233,234,238,237,231,228,224,227,244,247,243,240,250,249,253,254,211,208,212,215,221,222,218,217,206,205,201,202,192,195,199,196,157,158,154,153,147,144,148,151,128,131,135,132,142,141,137,138,167,164,160,163,169,170,174,173,186,185,189,190,180,183,179,176,233,232,234,235,238,239,237,236,231,230,228,229,224,225,227,226,244,245,247,246,243,242,240,241,250,251,249,248,253,252,254,255,211,210,208,209,212,213,215,214,221,220,222,223,218,219,217,216,206,207,205,204,201,200,202,203,192,193,195,194,199,198,196,197,157,156,158,159,154,155,153,152,147,146,144,145,148,149,151,150,128,129,131,130,135,134,132,133,142,143,141,140,137,136,138,139,167,166,164,165,160,161,163,162,169,168,170,171,174,175,173,172,186,187,185,184,189,188,190,191,180,181,183,182,179,178,176,177},{0,113,227,146,227,219,146,170,227,255,219,199,146,142,170,182,227,237,255,241,219,213,199,201,146,156,142,128,170,164,182,184,227,228,237,234,255,248,241,246,219,220,213,210,199,192,201,206,146,149,156,155,142,137,128,135,170,173,164,163,182,177,184,191,227,224,228,231,237,238,234,233,255,252,248,251,241,242,246,245,219,216,220,223,213,214,210,209,199,196,192,195,201,202,206,205,146,145,149,150,156,159,155,152,142,141,137,138,128,131,135,132,170,169,173,174,164,167,163,160,182,181,177,178,184,187,191,188,227,226,224,225,228,229,231,230,237,236,238,239,234,235,233,232,255,254,252,253,248,249,251,250,241,240,242,243,246,247,245,244,219,218,216,217,220,221,223,222,213,212,214,215,210,211,209,208,199,198,196,197,192,193,195,194,201,200,202,203,206,207,205,204,146,147,145,144,149,148,150,151,156,157,159,158,155,154,152,153,142,143,141,140,137,136,138,139,128,129,131,130,135,134,132,133,170,171,169,168,173,172,174,175,164,165,167,166,163,162,160,161,182,183,181,180,177,176,178,179,184,185,187,186,191,190,188,189},{0,109,219,182,219,237,182,128,219,192,237,246,182,173,128,155,219,214,192,205,237,224,246,251,182,187,173,160,128,141,155,150,219,221,214,208,192,198,205,203,237,235,224,230,246,240,251,253,182,176,187,189,173,171,160,166,128,134,141,139,155,157,150,144,219,216,221,222,214,213,208,211,192,195,198,197,205,206,203,200,237,238,235,232,224,227,230,229,246,245,240,243,251,248,253,254,182,181,176,179,187,184,189,190,173,174,171,168,160,163,166,165,128,131,134,133,141,142,139,136,155,152,157,158,150,149,144,147,219,218,216,217,221,220,222,223,214,215,213,212,208,209,211,210,192,193,195,194,198,199,197,196,205,204,206,207,203,202,200,201,237,236,238,239,235,234,232,233,224,225,227,226,230,231,229,228,246,247,245,244,240,241,243,242,251,250,248,249,253,252,254,255,182,183,181,180,176,177,179,178,187,186,184,185,189,188,190,191,173,172,174,175,171,170,168,169,160,161,163,162,166,167,165,164,128,129,131,130,134,135,133,132,141,140,142,143,139,138,136,137,155,154,152,153,157,156,158,159,150,151,149,148,144,145,147,146},{0,104,209,185,209,229,185,141,209,203,229,255,185,163,141,151,209,220,203,198,229,232,255,242,185,180,163,174,141,128,151,154,209,215,220,218,203,205,198,192,229,227,232,238,255,249,242,244,185,191,180,178,163,165,174,168,141,139,128,134,151,145,154,156,209,210,215,212,220,223,218,217,203,200,205,206,198,197,192,195,229,230,227,224,232,235,238,237,255,252,249,250,242,241,244,247,185,186,191,188,180,183,178,177,163,160,165,166,174,173,168,171,141,142,139,136,128,131,134,133,151,148,145,146,154,153,156,159,209,208,210,211,215,214,212,213,220,221,223,222,218,219,217,216,203,202,200,201,205,204,206,207,198,199,197,196,192,193,195,194,229,228,230,231,227,226,224,225,232,233,235,234,238,239,237,236,255,254,252,253,249,248,250,251,242,243,241,240,244,245,247,246,185,184,186,187,191,190,188,189,180,181,183,182,178,179,177,176,163,162,160,161,165,164,166,167,174,175,173,172,168,169,171,170,141,140,142,143,139,138,136,137,128,129,131,130,134,135,133,132,151,150,148,149,145,144,146,147,154,155,153,152,156,157,159,158},{0,102,204,170,204,255,170,153,204,213,255,230,170,179,153,128,204,192,213,217,255,243,230,234,170,166,179,191,153,149,128,140,204,202,192,198,213,211,217,223,255,249,243,245,230,224,234,236,170,172,166,160,179,181,191,185,153,159,149,147,128,134,140,138,204,207,202,201,192,195,198,197,213,214,211,208,217,218,223,220,255,252,249,250,243,240,245,246,230,229,224,227,234,233,236,239,170,169,172,175,166,165,160,163,179,176,181,182,191,188,185,186,153,154,159,156,149,150,147,144,128,131,134,133,140,143,138,137,204,205,207,206,202,203,201,200,192,193,195,194,198,199,197,196,213,212,214,215,211,210,208,209,217,216,218,219,223,222,220,221,255,254,252,253,249,248,250,251,243,242,240,241,245,244,246,247,230,231,229,228,224,225,227,226,234,235,233,232,236,237,239,238,170,171,169,168,172,173,175,174,166,167,165,164,160,161,163,162,179,178,176,177,181,180,182,183,191,190,188,189,185,184,186,187,153,152,154,155,159,158,156,157,149,148,150,151,147,146,144,145,128,129,131,130,134,135,133,132,140,141,143,142,138,139,137,136},{0,99,198,165,198,247,165,148,198,222,247,239,165,189,148,140,198,202,222,210,247,251,239,227,165,169,189,177,148,152,140,128,198,192,202,204,222,216,210,212,247,241,251,253,239,233,227,229,165,163,169,175,189,187,177,183,148,146,152,158,140,138,128,134,198,197,192,195,202,201,204,207,222,221,216,219,210,209,212,215,247,244,241,242,251,248,253,254,239,236,233,234,227,224,229,230,165,166,163,160,169,170,175,172,189,190,187,184,177,178,183,180,148,151,146,145,152,155,158,157,140,143,138,137,128,131,134,133,198,199,197,196,192,193,195,194,202,203,201,200,204,205,207,206,222,223,221,220,216,217,219,218,210,211,209,208,212,213,215,214,247,246,244,245,241,240,242,243,251,250,248,249,253,252,254,255,239,238,236,237,233,232,234,235,227,226,224,225,229,228,230,231,165,164,166,167,163,162,160,161,169,168,170,171,175,174,172,173,189,188,190,191,187,186,184,185,177,176,178,179,183,182,180,181,148,149,151,150,146,147,145,144,152,153,155,154,158,159,157,156,140,141,143,142,138,139,137,136,128,129,131,130,134,135,133,132},{0,32,64,96,128,160,192,224,128,144,160,176,192,208,224,240,128,136,144,152,160,168,176,184,192,200,208,216,224,232,240,248,128,132,136,140,144,148,152,156,160,164,168,172,176,180,184,188,192,196,200,204,208,212,216,220,224,228,232,236,240,244,248,252,128,130,132,134,136,138,140,142,144,146,148,150,152,154,156,158,160,162,164,166,168,170,172,174,176,178,180,182,184,186,188,190,192,194,196,198,200,202,204,206,208,210,212,214,216,218,220,222,224,226,228,230,232,234,236,238,240,242,244,246,248,250,252,254,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255},{0,33,66,99,132,165,198,231,132,148,165,181,198,214,231,247,132,140,148,156,165,173,181,189,198,206,214,222,231,239,247,255,132,128,140,136,148,144,156,152,165,161,173,169,181,177,189,185,198,194,206,202,214,210,222,218,231,227,239,235,247,243,255,251,132,134,128,130,140,142,136,138,148,150,144,146,156,158,152,154,165,167,161,163,173,175,169,171,181,183,177,179,189,191,185,187,198,196,194,192,206,204,202,200,214,212,210,208,222,220,218,216,231,229,227,225,239,237,235,233,247,245,243,241,255,253,251,249,132,133,134,135,128,129,130,131,140,141,142,143,136,137,138,139,148,149,150,151,144,145,146,147,156,157,158,159,152,153,154,155,165,164,167,166,161,160,163,162,173,172,175,174,169,168,171,170,181,180,183,182,177,176,179,178,189,188,191,190,185,184,187,186,198,199,196,197,194,195,192,193,206,207,204,205,202,203,200,201,214,215,212,213,210,211,208,209,222,223,220,221,218,219,216,217,231,230,229,228,227,226,225,224,239,238,237,236,235,234,233,232,247,246,245,244,243,242,241,240,255,254,253,252,251,250,249,248},{0,34,68,102,136,170,204,238,136,153,170,187,204,221,238,255,136,128,153,145,170,162,187,179,204,196,221,213,238,230,255,247,136,140,128,132,153,157,145,149,170,174,162,166,187,191,179,183,204,200,196,192,221,217,213,209,238,234,230,226,255,251,247,243,136,138,140,142,128,130,132,134,153,155,157,159,145,147,149,151,170,168,174,172,162,160,166,164,187,185,191,189,179,177,183,181,204,206,200,202,196,198,192,194,221,223,217,219,213,215,209,211,238,236,234,232,230,228,226,224,255,253,251,249,247,245,243,241,136,137,138,139,140,141,142,143,128,129,130,131,132,133,134,135,153,152,155,154,157,156,159,158,145,144,147,146,149,148,151,150,170,171,168,169,174,175,172,173,162,163,160,161,166,167,164,165,187,186,185,184,191,190,189,188,179,178,177,176,183,182,181,180,204,205,206,207,200,201,202,203,196,197,198,199,192,193,194,195,221,220,223,222,217,216,219,218,213,212,215,214,209,208,211,210,238,239,236,237,234,235,232,233,230,231,228,229,226,227,224,225,255,254,253,252,251,250,249,248,247,246,245,244,243,242,241,240},{0,35,70,101,140,175,202,233,140,157,175,190,202,219,233,248,140,132,157,149,175,167,190,182,202,194,219,211,233,225,248,240,140,136,132,128,157,153,149,145,175,171,167,163,190,186,182,178,202,206,194,198,219,223,211,215,233,237,225,229,248,252,240,244,140,142,136,138,132,134,128,130,157,159,153,155,149,151,145,147,175,173,171,169,167,165,163,161,190,188,186,184,182,180,178,176,202,200,206,204,194,192,198,196,219,217,223,221,211,209,215,213,233,235,237,239,225,227,229,231,248,250,252,254,240,242,244,246,140,141,142,143,136,137,138,139,132,133,134,135,128,129,130,131,157,156,159,158,153,152,155,154,149,148,151,150,145,144,147,146,175,174,173,172,171,170,169,168,167,166,165,164,163,162,161,160,190,191,188,189,186,187,184,185,182,183,180,181,178,179,176,177,202,203,200,201,206,207,204,205,194,195,192,193,198,199,196,197,219,218,217,216,223,222,221,220,211,210,209,208,215,214,213,212,233,232,235,234,237,236,239,238,225,224,227,226,229,228,231,230,248,249,250,251,252,253,254,255,240,241,242,243,244,245,246,247},{0,36,73,109,146,182,219,255,146,128,182,164,219,201,255,237,146,155,128,137,182,191,164,173,219,210,201,192,255,246,237,228,146,150,155,159,128,132,137,141,182,178,191,187,164,160,173,169,219,223,210,214,201,205,192,196,255,251,246,242,237,233,228,224,146,144,150,148,155,153,159,157,128,130,132,134,137,139,141,143,182,180,178,176,191,189,187,185,164,166,160,162,173,175,169,171,219,217,223,221,210,208,214,212,201,203,205,207,192,194,196,198,255,253,251,249,246,244,242,240,237,239,233,235,228,230,224,226,146,147,144,145,150,151,148,149,155,154,153,152,159,158,157,156,128,129,130,131,132,133,134,135,137,136,139,138,141,140,143,142,182,183,180,181,178,179,176,177,191,190,189,188,187,186,185,184,164,165,166,167,160,161,162,163,173,172,175,174,169,168,171,170,219,218,217,216,223,222,221,220,210,211,208,209,214,215,212,213,201,200,203,202,205,204,207,206,192,193,194,195,196,197,198,199,255,254,253,252,251,250,249,248,246,247,244,245,242,243,240,241,237,236,239,238,233,232,235,234,228,229,230,231,224,225,226,227},{0,37,75,110,150,179,221,248,150,132,179,161,221,207,248,234,150,159,132,141,179,186,161,168,221,212,207,198,248,241,234,227,150,146,159,155,132,128,141,137,179,183,186,190,161,165,168,172,221,217,212,208,207,203,198,194,248,252,241,245,234,238,227,231,150,148,146,144,159,157,155,153,132,134,128,130,141,143,137,139,179,177,183,181,186,184,190,188,161,163,165,167,168,170,172,174,221,223,217,219,212,214,208,210,207,205,203,201,198,196,194,192,248,250,252,254,241,243,245,247,234,232,238,236,227,225,231,229,150,151,148,149,146,147,144,145,159,158,157,156,155,154,153,152,132,133,134,135,128,129,130,131,141,140,143,142,137,136,139,138,179,178,177,176,183,182,181,180,186,187,184,185,190,191,188,189,161,160,163,162,165,164,167,166,168,169,170,171,172,173,174,175,221,220,223,222,217,216,219,218,212,213,214,215,208,209,210,211,207,206,205,204,203,202,201,200,198,199,196,197,194,195,192,193,248,249,250,251,252,253,254,255,241,240,243,242,245,244,247,246,234,235,232,233,238,239,236,237,227,226,225,224,231,230,229,228},{0,38,77,107,154,188,215,241,154,137,188,175,215,196,241,226,154,147,137,128,188,181,175,166,215,222,196,205,241,248,226,235,154,158,147,151,137,141,128,132,188,184,181,177,175,171,166,162,215,211,222,218,196,192,205,201,241,245,248,252,226,230,235,239,154,152,158,156,147,145,151,149,137,139,141,143,128,130,132,134,188,190,184,186,181,183,177,179,175,173,171,169,166,164,162,160,215,213,211,209,222,220,218,216,196,198,192,194,205,207,201,203,241,243,245,247,248,250,252,254,226,224,230,228,235,233,239,237,154,155,152,153,158,159,156,157,147,146,145,144,151,150,149,148,137,136,139,138,141,140,143,142,128,129,130,131,132,133,134,135,188,189,190,191,184,185,186,187,181,180,183,182,177,176,179,178,175,174,173,172,171,170,169,168,166,167,164,165,162,163,160,161,215,214,213,212,211,210,209,208,222,223,220,221,218,219,216,217,196,197,198,199,192,193,194,195,205,204,207,206,201,200,203,202,241,240,243,242,245,244,247,246,248,249,250,251,252,253,254,255,226,227,224,225,230,231,228,229,235,234,233,232,239,238,237,236},{0,39,79,104,158,185,209,246,158,141,185,170,209,194,246,229,158,151,141,132,185,176,170,163,209,216,194,203,246,255,229,236,158,154,151,147,141,137,132,128,185,189,176,180,170,174,163,167,209,213,216,220,194,198,203,207,246,242,255,251,229,225,236,232,158,156,154,152,151,149,147,145,141,143,137,139,132,134,128,130,185,187,189,191,176,178,180,182,170,168,174,172,163,161,167,165,209,211,213,215,216,218,220,222,194,192,198,196,203,201,207,205,246,244,242,240,255,253,251,249,229,231,225,227,236,238,232,234,158,159,156,157,154,155,152,153,151,150,149,148,147,146,145,144,141,140,143,142,137,136,139,138,132,133,134,135,128,129,130,131,185,184,187,186,189,188,191,190,176,177,178,179,180,181,182,183,170,171,168,169,174,175,172,173,163,162,161,160,167,166,165,164,209,208,211,210,213,212,215,214,216,217,218,219,220,221,222,223,194,195,192,193,198,199,196,197,203,202,201,200,207,206,205,204,246,247,244,245,242,243,240,241,255,254,253,252,251,250,249,248,229,228,231,230,225,224,227,226,236,237,238,239,232,233,234,235},{0,42,85,127,170,128,255,213,170,191,128,149,255,234,213,192,170,160,191,181,128,138,149,159,255,245,234,224,213,223,192,202,170,175,160,165,191,186,181,176,128,133,138,143,149,144,159,154,255,250,245,240,234,239,224,229,213,208,223,218,192,197,202,207,170,168,175,173,160,162,165,167,191,189,186,184,181,183,176,178,128,130,133,135,138,136,143,141,149,151,144,146,159,157,154,152,255,253,250,248,245,247,240,242,234,232,239,237,224,226,229,231,213,215,208,210,223,221,218,216,192,194,197,199,202,200,207,205,170,171,168,169,175,174,173,172,160,161,162,163,165,164,167,166,191,190,189,188,186,187,184,185,181,180,183,182,176,177,178,179,128,129,130,131,133,132,135,134,138,139,136,137,143,142,141,140,149,148,151,150,144,145,146,147,159,158,157,156,154,155,152,153,255,254,253,252,250,251,248,249,245,244,247,246,240,241,242,243,234,235,232,233,239,238,237,236,224,225,226,227,229,228,231,230,213,212,215,214,208,209,210,211,223,222,221,220,218,219,216,217,192,193,194,195,197,196,199,198,202,203,200,201,207,206,205,204},{0,43,87,124,174,133,249,210,174,187,133,144,249,236,210,199,174,164,187,177,133,143,144,154,249,243,236,230,210,216,199,205,174,171,164,161,187,190,177,180,133,128,143,138,144,149,154,159,249,252,243,246,236,233,230,227,210,215,216,221,199,194,205,200,174,172,171,169,164,166,161,163,187,185,190,188,177,179,180,182,133,135,128,130,143,141,138,136,144,146,149,151,154,152,159,157,249,251,252,254,243,241,246,244,236,238,233,235,230,228,227,225,210,208,215,213,216,218,221,223,199,197,194,192,205,207,200,202,174,175,172,173,171,170,169,168,164,165,166,167,161,160,163,162,187,186,185,184,190,191,188,189,177,176,179,178,180,181,182,183,133,132,135,134,128,129,130,131,143,142,141,140,138,139,136,137,144,145,146,147,149,148,151,150,154,155,152,153,159,158,157,156,249,248,251,250,252,253,254,255,243,242,241,240,246,247,244,245,236,237,238,239,233,232,235,234,230,231,228,229,227,226,225,224,210,211,208,209,215,214,213,212,216,217,218,219,221,220,223,222,199,198,197,196,194,195,192,193,205,204,207,206,200,201,202,203},{0,40,81,121,162,138,243,219,162,182,138,158,243,231,219,207,162,168,182,188,138,128,158,148,243,249,231,237,219,209,207,197,162,167,168,173,182,179,188,185,138,143,128,133,158,155,148,145,243,246,249,252,231,226,237,232,219,222,209,212,207,202,197,192,162,160,167,165,168,170,173,175,182,180,179,177,188,190,185,187,138,136,143,141,128,130,133,135,158,156,155,153,148,150,145,147,243,241,246,244,249,251,252,254,231,229,226,224,237,239,232,234,219,217,222,220,209,211,212,214,207,205,202,200,197,199,192,194,162,163,160,161,167,166,165,164,168,169,170,171,173,172,175,174,182,183,180,181,179,178,177,176,188,189,190,191,185,184,187,186,138,139,136,137,143,142,141,140,128,129,130,131,133,132,135,134,158,159,156,157,155,154,153,152,148,149,150,151,145,144,147,146,243,242,241,240,246,247,244,245,249,248,251,250,252,253,254,255,231,230,229,228,226,227,224,225,237,236,239,238,232,233,234,235,219,218,217,216,222,223,220,221,209,208,211,210,212,213,214,215,207,206,205,204,202,203,200,201,197,196,199,198,192,193,194,195},{0,41,83,122,166,143,245,220,166,178,143,155,245,225,220,200,166,172,178,184,143,133,155,145,245,255,225,235,220,214,200,194,166,163,172,169,178,183,184,189,143,138,133,128,155,158,145,148,245,240,255,250,225,228,235,238,220,217,214,211,200,205,194,199,166,164,163,161,172,174,169,171,178,176,183,181,184,186,189,191,143,141,138,136,133,135,128,130,155,153,158,156,145,147,148,150,245,247,240,242,255,253,250,248,225,227,228,230,235,233,238,236,220,222,217,219,214,212,211,209,200,202,205,207,194,192,199,197,166,167,164,165,163,162,161,160,172,173,174,175,169,168,171,170,178,179,176,177,183,182,181,180,184,185,186,187,189,188,191,190,143,142,141,140,138,139,136,137,133,132,135,134,128,129,130,131,155,154,153,152,158,159,156,157,145,144,147,146,148,149,150,151,245,244,247,246,240,241,242,243,255,254,253,252,250,251,248,249,225,224,227,226,228,229,230,231,235,234,233,232,238,239,236,237,220,221,222,223,217,216,219,218,214,215,212,213,211,210,209,208,200,201,202,203,205,204,207,206,194,195,192,193,199,198,197,196},{0,46,92,114,185,151,229,203,185,174,151,128,229,242,203,220,185,178,174,165,151,156,128,139,229,238,242,249,203,192,220,215,185,188,178,183,174,171,165,160,151,146,156,153,128,133,139,142,229,224,238,235,242,247,249,252,203,206,192,197,220,217,215,210,185,187,188,190,178,176,183,181,174,172,171,169,165,167,160,162,151,149,146,144,156,158,153,155,128,130,133,135,139,137,142,140,229,231,224,226,238,236,235,233,242,240,247,245,249,251,252,254,203,201,206,204,192,194,197,199,220,222,217,219,215,213,210,208,185,184,187,186,188,189,190,191,178,179,176,177,183,182,181,180,174,175,172,173,171,170,169,168,165,164,167,166,160,161,162,163,151,150,149,148,146,147,144,145,156,157,158,159,153,152,155,154,128,129,130,131,133,132,135,134,139,138,137,136,142,143,140,141,229,228,231,230,224,225,226,227,238,239,236,237,235,234,233,232,242,243,240,241,247,246,245,244,249,248,251,250,252,253,254,255,203,202,201,200,206,207,204,205,192,193,194,195,197,196,199,198,220,221,222,223,217,216,219,218,215,214,213,212,210,211,208,209},{0,47,94,113,189,146,227,204,189,170,146,133,227,244,204,219,189,182,170,161,146,153,133,142,227,232,244,255,204,199,219,208,189,184,182,179,170,175,161,164,146,151,153,156,133,128,142,139,227,230,232,237,244,241,255,250,204,201,199,194,219,222,208,213,189,191,184,186,182,180,179,177,170,168,175,173,161,163,164,166,146,144,151,149,153,155,156,158,133,135,128,130,142,140,139,137,227,225,230,228,232,234,237,239,244,246,241,243,255,253,250,248,204,206,201,203,199,197,194,192,219,217,222,220,208,210,213,215,189,188,191,190,184,185,186,187,182,183,180,181,179,178,177,176,170,171,168,169,175,174,173,172,161,160,163,162,164,165,166,167,146,147,144,145,151,150,149,148,153,152,155,154,156,157,158,159,133,132,135,134,128,129,130,131,142,143,140,141,139,138,137,136,227,226,225,224,230,231,228,229,232,233,234,235,237,236,239,238,244,245,246,247,241,240,243,242,255,254,253,252,250,251,248,249,204,205,206,207,201,200,203,202,199,198,197,196,194,195,192,193,219,218,217,216,222,223,220,221,208,209,210,211,213,212,215,214},{0,44,88,116,177,157,233,197,177,167,157,139,233,255,197,211,177,186,167,172,157,150,139,128,233,226,255,244,197,206,211,216,177,180,186,191,167,162,172,169,157,152,150,147,139,142,128,133,233,236,226,231,255,250,244,241,197,192,206,203,211,214,216,221,177,179,180,182,186,184,191,189,167,165,162,160,172,174,169,171,157,159,152,154,150,148,147,145,139,137,142,140,128,130,133,135,233,235,236,238,226,224,231,229,255,253,250,248,244,246,241,243,197,199,192,194,206,204,203,201,211,209,214,212,216,218,221,223,177,176,179,178,180,181,182,183,186,187,184,185,191,190,189,188,167,166,165,164,162,163,160,161,172,173,174,175,169,168,171,170,157,156,159,158,152,153,154,155,150,151,148,149,147,146,145,144,139,138,137,136,142,143,140,141,128,129,130,131,133,132,135,134,233,232,235,234,236,237,238,239,226,227,224,225,231,230,229,228,255,254,253,252,250,251,248,249,244,245,246,247,241,240,243,242,197,196,199,198,192,193,194,195,206,207,204,205,203,202,201,200,211,210,209,208,214,215,212,213,216,217,218,219,221,220,223,222},{0,45,90,119,181,152,239,194,181,163,152,142,239,249,194,212,181,190,163,168,152,147,142,133,239,228,249,242,194,201,212,223,181,176,190,187,163,166,168,173,152,157,147,150,142,139,133,128,239,234,228,225,249,252,242,247,194,199,201,204,212,209,223,218,181,183,176,178,190,188,187,185,163,161,166,164,168,170,173,175,152,154,157,159,147,145,150,148,142,140,139,137,133,135,128,130,239,237,234,232,228,230,225,227,249,251,252,254,242,240,247,245,194,192,199,197,201,203,204,206,212,214,209,211,223,221,218,216,181,180,183,182,176,177,178,179,190,191,188,189,187,186,185,184,163,162,161,160,166,167,164,165,168,169,170,171,173,172,175,174,152,153,154,155,157,156,159,158,147,146,145,144,150,151,148,149,142,143,140,141,139,138,137,136,133,132,135,134,128,129,130,131,239,238,237,236,234,235,232,233,228,229,230,231,225,224,227,226,249,248,251,250,252,253,254,255,242,243,240,241,247,246,245,244,194,195,192,193,199,198,197,196,201,200,203,202,204,205,206,207,212,213,214,215,209,208,211,210,223,222,221,220,218,219,216,217},{0,63,127,64,255,192,128,191,255,224,192,223,128,159,191,160,255,240,224,239,192,207,223,208,128,143,159,144,191,176,160,175,255,248,240,247,224,231,239,232,192,199,207,200,223,216,208,215,128,135,143,136,159,152,144,151,191,184,176,183,160,167,175,168,255,252,248,251,240,243,247,244,224,227,231,228,239,236,232,235,192,195,199,196,207,204,200,203,223,220,216,219,208,211,215,212,128,131,135,132,143,140,136,139,159,156,152,155,144,147,151,148,191,188,184,187,176,179,183,180,160,163,167,164,175,172,168,171,255,254,252,253,248,249,251,250,240,241,243,242,247,246,244,245,224,225,227,226,231,230,228,229,239,238,236,237,232,233,235,234,192,193,195,194,199,198,196,197,207,206,204,205,200,201,203,202,223,222,220,221,216,217,219,218,208,209,211,210,215,214,212,213,128,129,131,130,135,134,132,133,143,142,140,141,136,137,139,138,159,158,156,157,152,153,155,154,144,145,147,146,151,150,148,149,191,190,188,189,184,185,187,186,176,177,179,178,183,182,180,181,160,161,163,162,167,166,164,165,175,174,172,173,168,169,171,170},{0,62,125,67,250,196,135,185,250,229,196,219,135,152,185,166,250,245,229,234,196,203,219,212,135,136,152,151,185,182,166,169,250,253,245,242,229,226,234,237,196,195,203,204,219,220,212,211,135,128,136,143,152,159,151,144,185,190,182,177,166,161,169,174,250,249,253,254,245,246,242,241,229,230,226,225,234,233,237,238,196,199,195,192,203,200,204,207,219,216,220,223,212,215,211,208,135,132,128,131,136,139,143,140,152,155,159,156,151,148,144,147,185,186,190,189,182,181,177,178,166,165,161,162,169,170,174,173,250,251,249,248,253,252,254,255,245,244,246,247,242,243,241,240,229,228,230,231,226,227,225,224,234,235,233,232,237,236,238,239,196,197,199,198,195,194,192,193,203,202,200,201,204,205,207,206,219,218,216,217,220,221,223,222,212,213,215,214,211,210,208,209,135,134,132,133,128,129,131,130,136,137,139,138,143,142,140,141,152,153,155,154,159,158,156,157,151,150,148,149,144,145,147,146,185,184,186,187,190,191,189,188,182,183,181,180,177,176,178,179,166,167,165,164,161,160,162,163,169,168,170,171,174,175,173,172},{0,61,122,71,245,200,143,178,245,235,200,214,143,145,178,172,245,250,235,228,200,199,214,217,143,128,145,158,178,189,172,163,245,242,250,253,235,236,228,227,200,207,199,192,214,209,217,222,143,136,128,135,145,150,158,153,178,181,189,186,172,171,163,164,245,246,242,241,250,249,253,254,235,232,236,239,228,231,227,224,200,203,207,204,199,196,192,195,214,213,209,210,217,218,222,221,143,140,136,139,128,131,135,132,145,146,150,149,158,157,153,154,178,177,181,182,189,190,186,185,172,175,171,168,163,160,164,167,245,244,246,247,242,243,241,240,250,251,249,248,253,252,254,255,235,234,232,233,236,237,239,238,228,229,231,230,227,226,224,225,200,201,203,202,207,206,204,205,199,198,196,197,192,193,195,194,214,215,213,212,209,208,210,211,217,216,218,219,222,223,221,220,143,142,140,141,136,137,139,138,128,129,131,130,135,134,132,133,145,144,146,147,150,151,149,148,158,159,157,156,153,152,154,155,178,179,177,176,181,180,182,183,189,188,190,191,186,187,185,184,172,173,175,174,171,170,168,169,163,162,160,161,164,165,167,166},{0,60,120,68,240,204,136,180,240,238,204,210,136,150,180,170,240,255,238,225,204,195,210,221,136,135,150,153,180,187,170,165,240,247,255,248,238,233,225,230,204,203,195,196,210,213,221,218,136,143,135,128,150,145,153,158,180,179,187,188,170,173,165,162,240,243,247,244,255,252,248,251,238,237,233,234,225,226,230,229,204,207,203,200,195,192,196,199,210,209,213,214,221,222,218,217,136,139,143,140,135,132,128,131,150,149,145,146,153,154,158,157,180,183,179,176,187,184,188,191,170,169,173,174,165,166,162,161,240,241,243,242,247,246,244,245,255,254,252,253,248,249,251,250,238,239,237,236,233,232,234,235,225,224,226,227,230,231,229,228,204,205,207,206,203,202,200,201,195,194,192,193,196,197,199,198,210,211,209,208,213,212,214,215,221,220,222,223,218,219,217,216,136,137,139,138,143,142,140,141,135,134,132,133,128,129,131,130,150,151,149,148,145,144,146,147,153,152,154,155,158,159,157,156,180,181,183,182,179,178,176,177,187,186,184,185,188,189,191,190,170,171,169,168,173,172,174,175,165,164,166,167,162,163,161,160},{0,58,116,78,233,211,157,167,233,244,211,206,157,128,167,186,233,231,244,250,211,221,206,192,157,147,128,142,167,169,186,180,233,238,231,224,244,243,250,253,211,212,221,218,206,201,192,199,157,154,147,148,128,135,142,137,167,160,169,174,186,189,180,179,233,234,238,237,231,228,224,227,244,247,243,240,250,249,253,254,211,208,212,215,221,222,218,217,206,205,201,202,192,195,199,196,157,158,154,153,147,144,148,151,128,131,135,132,142,141,137,138,167,164,160,163,169,170,174,173,186,185,189,190,180,183,179,176,233,232,234,235,238,239,237,236,231,230,228,229,224,225,227,226,244,245,247,246,243,242,240,241,250,251,249,248,253,252,254,255,211,210,208,209,212,213,215,214,221,220,222,223,218,219,217,216,206,207,205,204,201,200,202,203,192,193,195,194,199,198,196,197,157,156,158,159,154,155,153,152,147,146,144,145,148,149,151,150,128,129,131,130,135,134,132,133,142,143,141,140,137,136,138,139,167,166,164,165,160,161,163,162,169,168,170,171,174,175,173,172,186,187,185,184,189,188,190,191,180,181,183,182,179,178,176,177},{0,59,118,77,236,215,154,161,236,241,215,202,154,135,161,188,236,226,241,255,215,217,202,196,154,148,135,137,161,175,188,178,236,235,226,229,241,246,255,248,215,208,217,222,202,205,196,195,154,157,148,147,135,128,137,142,161,166,175,168,188,187,178,181,236,239,235,232,226,225,229,230,241,242,246,245,255,252,248,251,215,212,208,211,217,218,222,221,202,201,205,206,196,199,195,192,154,153,157,158,148,151,147,144,135,132,128,131,137,138,142,141,161,162,166,165,175,172,168,171,188,191,187,184,178,177,181,182,236,237,239,238,235,234,232,233,226,227,225,224,229,228,230,231,241,240,242,243,246,247,245,244,255,254,252,253,248,249,251,250,215,214,212,213,208,209,211,210,217,216,218,219,222,223,221,220,202,203,201,200,205,204,206,207,196,197,199,198,195,194,192,193,154,155,153,152,157,156,158,159,148,149,151,150,147,146,144,145,135,134,132,133,128,129,131,130,137,136,138,139,142,143,141,140,161,160,162,163,166,167,165,164,175,174,172,173,168,169,171,170,188,189,191,190,187,186,184,185,178,179,177,176,181,180,182,183},{0,56,113,73,227,219,146,170,227,255,219,199,146,142,170,182,227,237,255,241,219,213,199,201,146,156,142,128,170,164,182,184,227,228,237,234,255,248,241,246,219,220,213,210,199,192,201,206,146,149,156,155,142,137,128,135,170,173,164,163,182,177,184,191,227,224,228,231,237,238,234,233,255,252,248,251,241,242,246,245,219,216,220,223,213,214,210,209,199,196,192,195,201,202,206,205,146,145,149,150,156,159,155,152,142,141,137,138,128,131,135,132,170,169,173,174,164,167,163,160,182,181,177,178,184,187,191,188,227,226,224,225,228,229,231,230,237,236,238,239,234,235,233,232,255,254,252,253,248,249,251,250,241,240,242,243,246,247,245,244,219,218,216,217,220,221,223,222,213,212,214,215,210,211,209,208,199,198,196,197,192,193,195,194,201,200,202,203,206,207,205,204,146,147,145,144,149,148,150,151,156,157,159,158,155,154,152,153,142,143,141,140,137,136,138,139,128,129,131,130,135,134,132,133,170,171,169,168,173,172,174,175,164,165,167,166,163,162,160,161,182,183,181,180,177,176,178,179,184,185,187,186,191,190,188,189},{0,57,115,74,230,223,149,172,230,250,223,195,149,137,172,176,230,232,250,244,223,209,195,205,149,155,137,135,172,162,176,190,230,225,232,239,250,253,244,243,223,216,209,214,195,196,205,202,149,146,155,156,137,142,135,128,172,171,162,165,176,183,190,185,230,229,225,226,232,235,239,236,250,249,253,254,244,247,243,240,223,220,216,219,209,210,214,213,195,192,196,199,205,206,202,201,149,150,146,145,155,152,156,159,137,138,142,141,135,132,128,131,172,175,171,168,162,161,165,166,176,179,183,180,190,189,185,186,230,231,229,228,225,224,226,227,232,233,235,234,239,238,236,237,250,251,249,248,253,252,254,255,244,245,247,246,243,242,240,241,223,222,220,221,216,217,219,218,209,208,210,211,214,215,213,212,195,194,192,193,196,197,199,198,205,204,206,207,202,203,201,200,149,148,150,151,146,147,145,144,155,154,152,153,156,157,159,158,137,136,138,139,142,143,141,140,135,134,132,133,128,129,131,130,172,173,175,174,171,170,168,169,162,163,161,160,165,164,166,167,176,177,179,178,183,182,180,181,190,191,189,188,185,184,186,187},{0,54,109,91,219,237,182,128,219,192,237,246,182,173,128,155,219,214,192,205,237,224,246,251,182,187,173,160,128,141,155,150,219,221,214,208,192,198,205,203,237,235,224,230,246,240,251,253,182,176,187,189,173,171,160,166,128,134,141,139,155,157,150,144,219,216,221,222,214,213,208,211,192,195,198,197,205,206,203,200,237,238,235,232,224,227,230,229,246,245,240,243,251,248,253,254,182,181,176,179,187,184,189,190,173,174,171,168,160,163,166,165,128,131,134,133,141,142,139,136,155,152,157,158,150,149,144,147,219,218,216,217,221,220,222,223,214,215,213,212,208,209,211,210,192,193,195,194,198,199,197,196,205,204,206,207,203,202,200,201,237,236,238,239,235,234,232,233,224,225,227,226,230,231,229,228,246,247,245,244,240,241,243,242,251,250,248,249,253,252,254,255,182,183,181,180,176,177,179,178,187,186,184,185,189,188,190,191,173,172,174,175,171,170,168,169,160,161,163,162,166,167,165,164,128,129,131,130,134,135,133,132,141,140,142,143,139,138,136,137,155,154,152,153,157,156,158,159,150,151,149,148,144,145,147,146},{0,55,111,88,222,233,177,134,222,197,233,242,177,170,134,157,222,211,197,200,233,228,242,255,177,188,170,167,134,139,157,144,222,216,211,213,197,195,200,206,233,239,228,226,242,244,255,249,177,183,188,186,170,172,167,161,134,128,139,141,157,155,144,150,222,221,216,219,211,208,213,214,197,198,195,192,200,203,206,205,233,234,239,236,228,231,226,225,242,241,244,247,255,252,249,250,177,178,183,180,188,191,186,185,170,169,172,175,167,164,161,162,134,133,128,131,139,136,141,142,157,158,155,152,144,147,150,149,222,223,221,220,216,217,219,218,211,210,208,209,213,212,214,215,197,196,198,199,195,194,192,193,200,201,203,202,206,207,205,204,233,232,234,235,239,238,236,237,228,229,231,230,226,227,225,224,242,243,241,240,244,245,247,246,255,254,252,253,249,248,250,251,177,176,178,179,183,182,180,181,188,189,191,190,186,187,185,184,170,171,169,168,172,173,175,174,167,166,164,165,161,160,162,163,134,135,133,132,128,129,131,130,139,138,136,137,141,140,142,143,157,156,158,159,155,154,152,153,144,145,147,146,150,151,149,148},{0,52,104,92,209,229,185,141,209,203,229,255,185,163,141,151,209,220,203,198,229,232,255,242,185,180,163,174,141,128,151,154,209,215,220,218,203,205,198,192,229,227,232,238,255,249,242,244,185,191,180,178,163,165,174,168,141,139,128,134,151,145,154,156,209,210,215,212,220,223,218,217,203,200,205,206,198,197,192,195,229,230,227,224,232,235,238,237,255,252,249,250,242,241,244,247,185,186,191,188,180,183,178,177,163,160,165,166,174,173,168,171,141,142,139,136,128,131,134,133,151,148,145,146,154,153,156,159,209,208,210,211,215,214,212,213,220,221,223,222,218,219,217,216,203,202,200,201,205,204,206,207,198,199,197,196,192,193,195,194,229,228,230,231,227,226,224,225,232,233,235,234,238,239,237,236,255,254,252,253,249,248,250,251,242,243,241,240,244,245,247,246,185,184,186,187,191,190,188,189,180,181,183,182,178,179,177,176,163,162,160,161,165,164,166,167,174,175,173,172,168,169,171,170,141,140,142,143,139,138,136,137,128,129,131,130,134,135,133,132,151,150,148,149,145,144,146,147,154,155,153,152,156,157,159,158},{0,53,106,95,212,225,190,139,212,206,225,251,190,164,139,145,212,217,206,195,225,236,251,246,190,179,164,169,139,134,145,156,212,210,217,223,206,200,195,197,225,231,236,234,251,253,246,240,190,184,179,181,164,162,169,175,139,141,134,128,145,151,156,154,212,215,210,209,217,218,223,220,206,205,200,203,195,192,197,198,225,226,231,228,236,239,234,233,251,248,253,254,246,245,240,243,190,189,184,187,179,176,181,182,164,167,162,161,169,170,175,172,139,136,141,142,134,133,128,131,145,146,151,148,156,159,154,153,212,213,215,214,210,211,209,208,217,216,218,219,223,222,220,221,206,207,205,204,200,201,203,202,195,194,192,193,197,196,198,199,225,224,226,227,231,230,228,229,236,237,239,238,234,235,233,232,251,250,248,249,253,252,254,255,246,247,245,244,240,241,243,242,190,191,189,188,184,185,187,186,179,178,176,177,181,180,182,183,164,165,167,166,162,163,161,160,169,168,170,171,175,174,172,173,139,138,136,137,141,140,142,143,134,135,133,132,128,129,131,130,145,144,146,147,151,150,148,149,156,157,159,158,154,155,153,152},{0,51,102,85,204,255,170,153,204,213,255,230,170,179,153,128,204,192,213,217,255,243,230,234,170,166,179,191,153,149,128,140,204,202,192,198,213,211,217,223,255,249,243,245,230,224,234,236,170,172,166,160,179,181,191,185,153,159,149,147,128,134,140,138,204,207,202,201,192,195,198,197,213,214,211,208,217,218,223,220,255,252,249,250,243,240,245,246,230,229,224,227,234,233,236,239,170,169,172,175,166,165,160,163,179,176,181,182,191,188,185,186,153,154,159,156,149,150,147,144,128,131,134,133,140,143,138,137,204,205,207,206,202,203,201,200,192,193,195,194,198,199,197,196,213,212,214,215,211,210,208,209,217,216,218,219,223,222,220,221,255,254,252,253,249,248,250,251,243,242,240,241,245,244,246,247,230,231,229,228,224,225,227,226,234,235,233,232,236,237,239,238,170,171,169,168,172,173,175,174,166,167,165,164,160,161,163,162,179,178,176,177,181,180,182,183,191,190,188,189,185,184,186,187,153,152,154,155,159,158,156,157,149,148,150,151,147,146,144,145,128,129,131,130,134,135,133,132,140,141,143,142,138,139,137,136},{0,50,100,86,201,251,173,159,201,208,251,226,173,180,159,134,201,197,208,220,251,247,226,238,173,161,180,184,159,147,134,138,201,207,197,195,208,214,220,218,251,253,247,241,226,228,238,232,173,171,161,167,180,178,184,190,159,153,147,149,134,128,138,140,201,202,207,204,197,198,195,192,208,211,214,213,220,223,218,217,251,248,253,254,247,244,241,242,226,225,228,231,238,237,232,235,173,174,171,168,161,162,167,164,180,183,178,177,184,187,190,189,159,156,153,154,147,144,149,150,134,133,128,131,138,137,140,143,201,200,202,203,207,206,204,205,197,196,198,199,195,194,192,193,208,209,211,210,214,215,213,212,220,221,223,222,218,219,217,216,251,250,248,249,253,252,254,255,247,246,244,245,241,240,242,243,226,227,225,224,228,229,231,230,238,239,237,236,232,233,235,234,173,172,174,175,171,170,168,169,161,160,162,163,167,166,164,165,180,181,183,182,178,179,177,176,184,185,187,186,190,191,189,188,159,158,156,157,153,152,154,155,147,146,144,145,149,148,150,151,134,135,133,132,128,129,131,130,138,139,137,136,140,141,143,142},{0,49,99,82,198,247,165,148,198,222,247,239,165,189,148,140,198,202,222,210,247,251,239,227,165,169,189,177,148,152,140,128,198,192,202,204,222,216,210,212,247,241,251,253,239,233,227,229,165,163,169,175,189,187,177,183,148,146,152,158,140,138,128,134,198,197,192,195,202,201,204,207,222,221,216,219,210,209,212,215,247,244,241,242,251,248,253,254,239,236,233,234,227,224,229,230,165,166,163,160,169,170,175,172,189,190,187,184,177,178,183,180,148,151,146,145,152,155,158,157,140,143,138,137,128,131,134,133,198,199,197,196,192,193,195,194,202,203,201,200,204,205,207,206,222,223,221,220,216,217,219,218,210,211,209,208,212,213,215,214,247,246,244,245,241,240,242,243,251,250,248,249,253,252,254,255,239,238,236,237,233,232,234,235,227,226,224,225,229,228,230,231,165,164,166,167,163,162,160,161,169,168,170,171,175,174,172,173,189,188,190,191,187,186,184,185,177,176,178,179,183,182,180,181,148,149,151,150,146,147,145,144,152,153,155,154,158,159,157,156,140,141,143,142,138,139,137,136,128,129,131,130,134,135,133,132},{0,48,97,81,195,243,162,146,195,219,243,235,162,186,146,138,195,207,219,215,243,255,235,231,162,174,186,182,146,158,138,134,195,197,207,201,219,221,215,209,243,245,255,249,235,237,231,225,162,164,174,168,186,188,182,176,146,148,158,152,138,140,134,128,195,192,197,198,207,204,201,202,219,216,221,222,215,212,209,210,243,240,245,246,255,252,249,250,235,232,237,238,231,228,225,226,162,161,164,167,174,173,168,171,186,185,188,191,182,181,176,179,146,145,148,151,158,157,152,155,138,137,140,143,134,133,128,131,195,194,192,193,197,196,198,199,207,206,204,205,201,200,202,203,219,218,216,217,221,220,222,223,215,214,212,213,209,208,210,211,243,242,240,241,245,244,246,247,255,254,252,253,249,248,250,251,235,234,232,233,237,236,238,239,231,230,228,229,225,224,226,227,162,163,161,160,164,165,167,166,174,175,173,172,168,169,171,170,186,187,185,184,188,189,191,190,182,183,181,180,176,177,179,178,146,147,145,144,148,149,151,150,158,159,157,156,152,153,155,154,138,139,137,136,140,141,143,142,134,135,133,132,128,129,131,130},{0,16,32,48,64,80,96,112,128,144,160,176,192,208,224,240,128,136,144,152,160,168,176,184,192,200,208,216,224,232,240,248,128,132,136,140,144,148,152,156,160,164,168,172,176,180,184,188,192,196,200,204,208,212,216,220,224,228,232,236,240,244,248,252,128,130,132,134,136,138,140,142,144,146,148,150,152,154,156,158,160,162,164,166,168,170,172,174,176,178,180,182,184,186,188,190,192,194,196,198,200,202,204,206,208,210,212,214,216,218,220,222,224,226,228,230,232,234,236,238,240,242,244,246,248,250,252,254,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255},{0,16,32,48,65,81,97,113,130,146,162,178,195,211,227,243,130,138,146,154,162,170,178,186,195,203,211,219,227,235,243,251,130,134,138,142,146,150,154,158,162,166,170,174,178,182,186,190,195,199,203,207,211,215,219,223,227,231,235,239,243,247,251,255,130,128,134,132,138,136,142,140,146,144,150,148,154,152,158,156,162,160,166,164,170,168,174,172,178,176,182,180,186,184,190,188,195,193,199,197,203,201,207,205,211,209,215,213,219,217,223,221,227,225,231,229,235,233,239,237,243,241,247,245,251,249,255,253,130,131,128,129,134,135,132,133,138,139,136,137,142,143,140,141,146,147,144,145,150,151,148,149,154,155,152,153,158,159,156,157,162,163,160,161,166,167,164,165,170,171,168,169,174,175,172,173,178,179,176,177,182,183,180,181,186,187,184,185,190,191,188,189,195,194,193,192,199,198,197,196,203,202,201,200,207,206,205,204,211,210,209,208,215,214,213,212,219,218,217,216,223,222,221,220,227,226,225,224,231,230,229,228,235,234,233,232,239,238,237,236,243,242,241,240,247,246,245,244,251,250,249,248,255,254,253,252},{0,16,33,49,66,82,99,115,132,148,165,181,198,214,231,247,132,140,148,156,165,173,181,189,198,206,214,222,231,239,247,255,132,128,140,136,148,144,156,152,165,161,173,169,181,177,189,185,198,194,206,202,214,210,222,218,231,227,239,235,247,243,255,251,132,134,128,130,140,142,136,138,148,150,144,146,156,158,152,154,165,167,161,163,173,175,169,171,181,183,177,179,189,191,185,187,198,196,194,192,206,204,202,200,214,212,210,208,222,220,218,216,231,229,227,225,239,237,235,233,247,245,243,241,255,253,251,249,132,133,134,135,128,129,130,131,140,141,142,143,136,137,138,139,148,149,150,151,144,145,146,147,156,157,158,159,152,153,154,155,165,164,167,166,161,160,163,162,173,172,175,174,169,168,171,170,181,180,183,182,177,176,179,178,189,188,191,190,185,184,187,186,198,199,196,197,194,195,192,193,206,207,204,205,202,203,200,201,214,215,212,213,210,211,208,209,222,223,220,221,218,219,216,217,231,230,229,228,227,226,225,224,239,238,237,236,235,234,233,232,247,246,245,244,243,242,241,240,255,254,253,252,251,250,249,248},{0,16,33,49,67,83,98,114,134,150,167,183,197,213,228,244,134,142,150,158,167,175,183,191,197,205,213,221,228,236,244,252,134,130,142,138,150,146,158,154,167,163,175,171,183,179,191,187,197,193,205,201,213,209,221,217,228,224,236,232,244,240,252,248,134,132,130,128,142,140,138,136,150,148,146,144,158,156,154,152,167,165,163,161,175,173,171,169,183,181,179,177,191,189,187,185,197,199,193,195,205,207,201,203,213,215,209,211,221,223,217,219,228,230,224,226,236,238,232,234,244,246,240,242,252,254,248,250,134,135,132,133,130,131,128,129,142,143,140,141,138,139,136,137,150,151,148,149,146,147,144,145,158,159,156,157,154,155,152,153,167,166,165,164,163,162,161,160,175,174,173,172,171,170,169,168,183,182,181,180,179,178,177,176,191,190,189,188,187,186,185,184,197,196,199,198,193,192,195,194,205,204,207,206,201,200,203,202,213,212,215,214,209,208,211,210,221,220,223,222,217,216,219,218,228,229,230,231,224,225,226,227,236,237,238,239,232,233,234,235,244,245,246,247,240,241,242,243,252,253,254,255,248,249,250,251},{0,17,34,51,68,85,102,119,136,153,170,187,204,221,238,255,136,128,153,145,170,162,187,179,204,196,221,213,238,230,255,247,136,140,128,132,153,157,145,149,170,174,162,166,187,191,179,183,204,200,196,192,221,217,213,209,238,234,230,226,255,251,247,243,136,138,140,142,128,130,132,134,153,155,157,159,145,147,149,151,170,168,174,172,162,160,166,164,187,185,191,189,179,177,183,181,204,206,200,202,196,198,192,194,221,223,217,219,213,215,209,211,238,236,234,232,230,228,226,224,255,253,251,249,247,245,243,241,136,137,138,139,140,141,142,143,128,129,130,131,132,133,134,135,153,152,155,154,157,156,159,158,145,144,147,146,149,148,151,150,170,171,168,169,174,175,172,173,162,163,160,161,166,167,164,165,187,186,185,184,191,190,189,188,179,178,177,176,183,182,181,180,204,205,206,207,200,201,202,203,196,197,198,199,192,193,194,195,221,220,223,222,217,216,219,218,213,212,215,214,209,208,211,210,238,239,236,237,234,235,232,233,230,231,228,229,226,227,224,225,255,254,253,252,251,250,249,248,247,246,245,244,243,242,241,240},{0,17,34,51,69,84,103,118,138,155,168,185,207,222,237,252,138,130,155,147,168,160,185,177,207,199,222,214,237,229,252,244,138,142,130,134,155,159,147,151,168,172,160,164,185,189,177,181,207,203,199,195,222,218,214,210,237,233,229,225,252,248,244,240,138,136,142,140,130,128,134,132,155,153,159,157,147,145,151,149,168,170,172,174,160,162,164,166,185,187,189,191,177,179,181,183,207,205,203,201,199,197,195,193,222,220,218,216,214,212,210,208,237,239,233,235,229,231,225,227,252,254,248,250,244,246,240,242,138,139,136,137,142,143,140,141,130,131,128,129,134,135,132,133,155,154,153,152,159,158,157,156,147,146,145,144,151,150,149,148,168,169,170,171,172,173,174,175,160,161,162,163,164,165,166,167,185,184,187,186,189,188,191,190,177,176,179,178,181,180,183,182,207,206,205,204,203,202,201,200,199,198,197,196,195,194,193,192,222,223,220,221,218,219,216,217,214,215,212,213,210,211,208,209,237,236,239,238,233,232,235,234,229,228,231,230,225,224,227,226,252,253,254,255,248,249,250,251,244,245,246,247,240,241,242,243},{0,17,35,50,70,87,101,116,140,157,175,190,202,219,233,248,140,132,157,149,175,167,190,182,202,194,219,211,233,225,248,240,140,136,132,128,157,153,149,145,175,171,167,163,190,186,182,178,202,206,194,198,219,223,211,215,233,237,225,229,248,252,240,244,140,142,136,138,132,134,128,130,157,159,153,155,149,151,145,147,175,173,171,169,167,165,163,161,190,188,186,184,182,180,178,176,202,200,206,204,194,192,198,196,219,217,223,221,211,209,215,213,233,235,237,239,225,227,229,231,248,250,252,254,240,242,244,246,140,141,142,143,136,137,138,139,132,133,134,135,128,129,130,131,157,156,159,158,153,152,155,154,149,148,151,150,145,144,147,146,175,174,173,172,171,170,169,168,167,166,165,164,163,162,161,160,190,191,188,189,186,187,184,185,182,183,180,181,178,179,176,177,202,203,200,201,206,207,204,205,194,195,192,193,198,199,196,197,219,218,217,216,223,222,221,220,211,210,209,208,215,214,213,212,233,232,235,234,237,236,239,238,225,224,227,226,229,228,231,230,248,249,250,251,252,253,254,255,240,241,242,243,244,245,246,247},{0,17,35,50,71,86,100,117,142,159,173,188,201,216,234,251,142,134,159,151,173,165,188,180,201,193,216,208,234,226,251,243,142,138,134,130,159,155,151,147,173,169,165,161,188,184,180,176,201,205,193,197,216,220,208,212,234,238,226,230,251,255,243,247,142,140,138,136,134,132,130,128,159,157,155,153,151,149,147,145,173,175,169,171,165,167,161,163,188,190,184,186,180,182,176,178,201,203,205,207,193,195,197,199,216,218,220,222,208,210,212,214,234,232,238,236,226,224,230,228,251,249,255,253,243,241,247,245,142,143,140,141,138,139,136,137,134,135,132,133,130,131,128,129,159,158,157,156,155,154,153,152,151,150,149,148,147,146,145,144,173,172,175,174,169,168,171,170,165,164,167,166,161,160,163,162,188,189,190,191,184,185,186,187,180,181,182,183,176,177,178,179,201,200,203,202,205,204,207,206,193,192,195,194,197,196,199,198,216,217,218,219,220,221,222,223,208,209,210,211,212,213,214,215,234,235,232,233,238,239,236,237,226,227,224,225,230,231,228,229,251,250,249,248,255,254,253,252,243,242,241,240,247,246,245,244},{0,18,36,54,73,91,109,127,146,128,182,164,219,201,255,237,146,155,128,137,182,191,164,173,219,210,201,192,255,246,237,228,146,150,155,159,128,132,137,141,182,178,191,187,164,160,173,169,219,223,210,214,201,205,192,196,255,251,246,242,237,233,228,224,146,144,150,148,155,153,159,157,128,130,132,134,137,139,141,143,182,180,178,176,191,189,187,185,164,166,160,162,173,175,169,171,219,217,223,221,210,208,214,212,201,203,205,207,192,194,196,198,255,253,251,249,246,244,242,240,237,239,233,235,228,230,224,226,146,147,144,145,150,151,148,149,155,154,153,152,159,158,157,156,128,129,130,131,132,133,134,135,137,136,139,138,141,140,143,142,182,183,180,181,178,179,176,177,191,190,189,188,187,186,185,184,164,165,166,167,160,161,162,163,173,172,175,174,169,168,171,170,219,218,217,216,223,222,221,220,210,211,208,209,214,215,212,213,201,200,203,202,205,204,207,206,192,193,194,195,196,197,198,199,255,254,253,252,251,250,249,248,246,247,244,245,242,243,240,241,237,236,239,238,233,232,235,234,228,229,230,231,224,225,226,227},{0,18,36,54,72,90,108,126,144,130,180,166,216,202,252,238,144,153,130,139,180,189,166,175,216,209,202,195,252,245,238,231,144,148,153,157,130,134,139,143,180,176,189,185,166,162,175,171,216,220,209,213,202,206,195,199,252,248,245,241,238,234,231,227,144,146,148,150,153,155,157,159,130,128,134,132,139,137,143,141,180,182,176,178,189,191,185,187,166,164,162,160,175,173,171,169,216,218,220,222,209,211,213,215,202,200,206,204,195,193,199,197,252,254,248,250,245,247,241,243,238,236,234,232,231,229,227,225,144,145,146,147,148,149,150,151,153,152,155,154,157,156,159,158,130,131,128,129,134,135,132,133,139,138,137,136,143,142,141,140,180,181,182,183,176,177,178,179,189,188,191,190,185,184,187,186,166,167,164,165,162,163,160,161,175,174,173,172,171,170,169,168,216,217,218,219,220,221,222,223,209,208,211,210,213,212,215,214,202,203,200,201,206,207,204,205,195,194,193,192,199,198,197,196,252,253,254,255,248,249,250,251,245,244,247,246,241,240,243,242,238,239,236,237,234,235,232,233,231,230,229,228,227,226,225,224},{0,18,37,55,75,89,110,124,150,132,179,161,221,207,248,234,150,159,132,141,179,186,161,168,221,212,207,198,248,241,234,227,150,146,159,155,132,128,141,137,179,183,186,190,161,165,168,172,221,217,212,208,207,203,198,194,248,252,241,245,234,238,227,231,150,148,146,144,159,157,155,153,132,134,128,130,141,143,137,139,179,177,183,181,186,184,190,188,161,163,165,167,168,170,172,174,221,223,217,219,212,214,208,210,207,205,203,201,198,196,194,192,248,250,252,254,241,243,245,247,234,232,238,236,227,225,231,229,150,151,148,149,146,147,144,145,159,158,157,156,155,154,153,152,132,133,134,135,128,129,130,131,141,140,143,142,137,136,139,138,179,178,177,176,183,182,181,180,186,187,184,185,190,191,188,189,161,160,163,162,165,164,167,166,168,169,170,171,172,173,174,175,221,220,223,222,217,216,219,218,212,213,214,215,208,209,210,211,207,206,205,204,203,202,201,200,198,199,196,197,194,195,192,193,248,249,250,251,252,253,254,255,241,240,243,242,245,244,247,246,234,235,232,233,238,239,236,237,227,226,225,224,231,230,229,228},{0,18,37,55,74,88,111,125,148,134,177,163,222,204,251,233,148,157,134,143,177,184,163,170,222,215,204,197,251,242,233,224,148,144,157,153,134,130,143,139,177,181,184,188,163,167,170,174,222,218,215,211,204,200,197,193,251,255,242,246,233,237,224,228,148,150,144,146,157,159,153,155,134,132,130,128,143,141,139,137,177,179,181,183,184,186,188,190,163,161,167,165,170,168,174,172,222,220,218,216,215,213,211,209,204,206,200,202,197,199,193,195,251,249,255,253,242,240,246,244,233,235,237,239,224,226,228,230,148,149,150,151,144,145,146,147,157,156,159,158,153,152,155,154,134,135,132,133,130,131,128,129,143,142,141,140,139,138,137,136,177,176,179,178,181,180,183,182,184,185,186,187,188,189,190,191,163,162,161,160,167,166,165,164,170,171,168,169,174,175,172,173,222,223,220,221,218,219,216,217,215,214,213,212,211,210,209,208,204,205,206,207,200,201,202,203,197,196,199,198,193,192,195,194,251,250,249,248,255,254,253,252,242,243,240,241,246,247,244,245,233,232,235,234,237,236,239,238,224,225,226,227,228,229,230,231},{0,19,38,53,77,94,107,120,154,137,188,175,215,196,241,226,154,147,137,128,188,181,175,166,215,222,196,205,241,248,226,235,154,158,147,151,137,141,128,132,188,184,181,177,175,171,166,162,215,211,222,218,196,192,205,201,241,245,248,252,226,230,235,239,154,152,158,156,147,145,151,149,137,139,141,143,128,130,132,134,188,190,184,186,181,183,177,179,175,173,171,169,166,164,162,160,215,213,211,209,222,220,218,216,196,198,192,194,205,207,201,203,241,243,245,247,248,250,252,254,226,224,230,228,235,233,239,237,154,155,152,153,158,159,156,157,147,146,145,144,151,150,149,148,137,136,139,138,141,140,143,142,128,129,130,131,132,133,134,135,188,189,190,191,184,185,186,187,181,180,183,182,177,176,179,178,175,174,173,172,171,170,169,168,166,167,164,165,162,163,160,161,215,214,213,212,211,210,209,208,222,223,220,221,218,219,216,217,196,197,198,199,192,193,194,195,205,204,207,206,201,200,203,202,241,240,243,242,245,244,247,246,248,249,250,251,252,253,254,255,226,227,224,225,230,231,228,229,235,234,233,232,239,238,237,236},{0,19,38,53,76,95,106,121,152,139,190,173,212,199,242,225,152,145,139,130,190,183,173,164,212,221,199,206,242,251,225,232,152,156,145,149,139,143,130,134,190,186,183,179,173,169,164,160,212,208,221,217,199,195,206,202,242,246,251,255,225,229,232,236,152,154,156,158,145,147,149,151,139,137,143,141,130,128,134,132,190,188,186,184,183,181,179,177,173,175,169,171,164,166,160,162,212,214,208,210,221,223,217,219,199,197,195,193,206,204,202,200,242,240,246,244,251,249,255,253,225,227,229,231,232,234,236,238,152,153,154,155,156,157,158,159,145,144,147,146,149,148,151,150,139,138,137,136,143,142,141,140,130,131,128,129,134,135,132,133,190,191,188,189,186,187,184,185,183,182,181,180,179,178,177,176,173,172,175,174,169,168,171,170,164,165,166,167,160,161,162,163,212,213,214,215,208,209,210,211,221,220,223,222,217,216,219,218,199,198,197,196,195,194,193,192,206,207,204,205,202,203,200,201,242,243,240,241,246,247,244,245,251,250,249,248,255,254,253,252,225,224,227,226,229,228,231,230,232,233,234,235,236,237,238,239},{0,19,39,52,79,92,104,123,158,141,185,170,209,194,246,229,158,151,141,132,185,176,170,163,209,216,194,203,246,255,229,236,158,154,151,147,141,137,132,128,185,189,176,180,170,174,163,167,209,213,216,220,194,198,203,207,246,242,255,251,229,225,236,232,158,156,154,152,151,149,147,145,141,143,137,139,132,134,128,130,185,187,189,191,176,178,180,182,170,168,174,172,163,161,167,165,209,211,213,215,216,218,220,222,194,192,198,196,203,201,207,205,246,244,242,240,255,253,251,249,229,231,225,227,236,238,232,234,158,159,156,157,154,155,152,153,151,150,149,148,147,146,145,144,141,140,143,142,137,136,139,138,132,133,134,135,128,129,130,131,185,184,187,186,189,188,191,190,176,177,178,179,180,181,182,183,170,171,168,169,174,175,172,173,163,162,161,160,167,166,165,164,209,208,211,210,213,212,215,214,216,217,218,219,220,221,222,223,194,195,192,193,198,199,196,197,203,202,201,200,207,206,205,204,246,247,244,245,242,243,240,241,255,254,253,252,251,250,249,248,229,228,231,230,225,224,227,226,236,237,238,239,232,233,234,235},{0,19,39,52,78,93,105,122,156,143,187,168,210,193,245,230,156,149,143,134,187,178,168,161,210,219,193,200,245,252,230,239,156,152,149,145,143,139,134,130,187,191,178,182,168,172,161,165,210,214,219,223,193,197,200,204,245,241,252,248,230,226,239,235,156,158,152,154,149,151,145,147,143,141,139,137,134,132,130,128,187,185,191,189,178,176,182,180,168,170,172,174,161,163,165,167,210,208,214,212,219,217,223,221,193,195,197,199,200,202,204,206,245,247,241,243,252,254,248,250,230,228,226,224,239,237,235,233,156,157,158,159,152,153,154,155,149,148,151,150,145,144,147,146,143,142,141,140,139,138,137,136,134,135,132,133,130,131,128,129,187,186,185,184,191,190,189,188,178,179,176,177,182,183,180,181,168,169,170,171,172,173,174,175,161,160,163,162,165,164,167,166,210,211,208,209,214,215,212,213,219,218,217,216,223,222,221,220,193,192,195,194,197,196,199,198,200,201,202,203,204,205,206,207,245,244,247,246,241,240,243,242,252,253,254,255,248,249,250,251,230,231,228,229,226,227,224,225,239,238,237,236,235,234,233,232},{0,21,42,63,85,64,127,106,170,191,128,149,255,234,213,192,170,160,191,181,128,138,149,159,255,245,234,224,213,223,192,202,170,175,160,165,191,186,181,176,128,133,138,143,149,144,159,154,255,250,245,240,234,239,224,229,213,208,223,218,192,197,202,207,170,168,175,173,160,162,165,167,191,189,186,184,181,183,176,178,128,130,133,135,138,136,143,141,149,151,144,146,159,157,154,152,255,253,250,248,245,247,240,242,234,232,239,237,224,226,229,231,213,215,208,210,223,221,218,216,192,194,197,199,202,200,207,205,170,171,168,169,175,174,173,172,160,161,162,163,165,164,167,166,191,190,189,188,186,187,184,185,181,180,183,182,176,177,178,179,128,129,130,131,133,132,135,134,138,139,136,137,143,142,141,140,149,148,151,150,144,145,146,147,159,158,157,156,154,155,152,153,255,254,253,252,250,251,248,249,245,244,247,246,240,241,242,243,234,235,232,233,239,238,237,236,224,225,226,227,229,228,231,230,213,212,215,214,208,209,210,211,223,222,221,220,218,219,216,217,192,193,194,195,197,196,199,198,202,203,200,201,207,206,205,204},{0,21,42,63,84,65,126,107,168,189,130,151,252,233,214,195,168,162,189,183,130,136,151,157,252,246,233,227,214,220,195,201,168,173,162,167,189,184,183,178,130,135,136,141,151,146,157,152,252,249,246,243,233,236,227,230,214,211,220,217,195,198,201,204,168,170,173,175,162,160,167,165,189,191,184,186,183,181,178,176,130,128,135,133,136,138,141,143,151,149,146,144,157,159,152,154,252,254,249,251,246,244,243,241,233,235,236,238,227,225,230,228,214,212,211,209,220,222,217,219,195,193,198,196,201,203,204,206,168,169,170,171,173,172,175,174,162,163,160,161,167,166,165,164,189,188,191,190,184,185,186,187,183,182,181,180,178,179,176,177,130,131,128,129,135,134,133,132,136,137,138,139,141,140,143,142,151,150,149,148,146,147,144,145,157,156,159,158,152,153,154,155,252,253,254,255,249,248,251,250,246,247,244,245,243,242,241,240,233,232,235,234,236,237,238,239,227,226,225,224,230,231,228,229,214,215,212,213,211,210,209,208,220,221,222,223,217,216,219,218,195,194,193,192,198,199,196,197,201,200,203,202,204,205,206,207},{0,21,43,62,87,66,124,105,174,187,133,144,249,236,210,199,174,164,187,177,133,143,144,154,249,243,236,230,210,216,199,205,174,171,164,161,187,190,177,180,133,128,143,138,144,149,154,159,249,252,243,246,236,233,230,227,210,215,216,221,199,194,205,200,174,172,171,169,164,166,161,163,187,185,190,188,177,179,180,182,133,135,128,130,143,141,138,136,144,146,149,151,154,152,159,157,249,251,252,254,243,241,246,244,236,238,233,235,230,228,227,225,210,208,215,213,216,218,221,223,199,197,194,192,205,207,200,202,174,175,172,173,171,170,169,168,164,165,166,167,161,160,163,162,187,186,185,184,190,191,188,189,177,176,179,178,180,181,182,183,133,132,135,134,128,129,130,131,143,142,141,140,138,139,136,137,144,145,146,147,149,148,151,150,154,155,152,153,159,158,157,156,249,248,251,250,252,253,254,255,243,242,241,240,246,247,244,245,236,237,238,239,233,232,235,234,230,231,228,229,227,226,225,224,210,211,208,209,215,214,213,212,216,217,218,219,221,220,223,222,199,198,197,196,194,195,192,193,205,204,207,206,200,201,202,203},{0,21,43,62,86,67,125,104,172,185,135,146,250,239,209,196,172,166,185,179,135,141,146,152,250,240,239,229,209,219,196,206,172,169,166,163,185,188,179,182,135,130,141,136,146,151,152,157,250,255,240,245,239,234,229,224,209,212,219,222,196,193,206,203,172,174,169,171,166,164,163,161,185,187,188,190,179,177,182,180,135,133,130,128,141,143,136,138,146,144,151,149,152,154,157,159,250,248,255,253,240,242,245,247,239,237,234,232,229,231,224,226,209,211,212,214,219,217,222,220,196,198,193,195,206,204,203,201,172,173,174,175,169,168,171,170,166,167,164,165,163,162,161,160,185,184,187,186,188,189,190,191,179,178,177,176,182,183,180,181,135,134,133,132,130,131,128,129,141,140,143,142,136,137,138,139,146,147,144,145,151,150,149,148,152,153,154,155,157,156,159,158,250,251,248,249,255,254,253,252,240,241,242,243,245,244,247,246,239,238,237,236,234,235,232,233,229,228,231,230,224,225,226,227,209,208,211,210,212,213,214,215,219,218,217,216,222,223,220,221,196,197,198,199,193,192,195,194,206,207,204,205,203,202,201,200},{0,20,40,60,81,69,121,109,162,182,138,158,243,231,219,207,162,168,182,188,138,128,158,148,243,249,231,237,219,209,207,197,162,167,168,173,182,179,188,185,138,143,128,133,158,155,148,145,243,246,249,252,231,226,237,232,219,222,209,212,207,202,197,192,162,160,167,165,168,170,173,175,182,180,179,177,188,190,185,187,138,136,143,141,128,130,133,135,158,156,155,153,148,150,145,147,243,241,246,244,249,251,252,254,231,229,226,224,237,239,232,234,219,217,222,220,209,211,212,214,207,205,202,200,197,199,192,194,162,163,160,161,167,166,165,164,168,169,170,171,173,172,175,174,182,183,180,181,179,178,177,176,188,189,190,191,185,184,187,186,138,139,136,137,143,142,141,140,128,129,130,131,133,132,135,134,158,159,156,157,155,154,153,152,148,149,150,151,145,144,147,146,243,242,241,240,246,247,244,245,249,248,251,250,252,253,254,255,231,230,229,228,226,227,224,225,237,236,239,238,232,233,234,235,219,218,217,216,222,223,220,221,209,208,211,210,212,213,214,215,207,206,205,204,202,203,200,201,197,196,199,198,192,193,194,195},{0,20,40,60,80,68,120,108,160,180,136,156,240,228,216,204,160,170,180,190,136,130,156,150,240,250,228,238,216,210,204,198,160,165,170,175,180,177,190,187,136,141,130,135,156,153,150,147,240,245,250,255,228,225,238,235,216,221,210,215,204,201,198,195,160,162,165,167,170,168,175,173,180,182,177,179,190,188,187,185,136,138,141,143,130,128,135,133,156,158,153,155,150,148,147,145,240,242,245,247,250,248,255,253,228,230,225,227,238,236,235,233,216,218,221,223,210,208,215,213,204,206,201,203,198,196,195,193,160,161,162,163,165,164,167,166,170,171,168,169,175,174,173,172,180,181,182,183,177,176,179,178,190,191,188,189,187,186,185,184,136,137,138,139,141,140,143,142,130,131,128,129,135,134,133,132,156,157,158,159,153,152,155,154,150,151,148,149,147,146,145,144,240,241,242,243,245,244,247,246,250,251,248,249,255,254,253,252,228,229,230,231,225,224,227,226,238,239,236,237,235,234,233,232,216,217,218,219,221,220,223,222,210,211,208,209,215,214,213,212,204,205,206,207,201,200,203,202,198,199,196,197,195,194,193,192},{0,20,41,61,83,71,122,110,166,178,143,155,245,225,220,200,166,172,178,184,143,133,155,145,245,255,225,235,220,214,200,194,166,163,172,169,178,183,184,189,143,138,133,128,155,158,145,148,245,240,255,250,225,228,235,238,220,217,214,211,200,205,194,199,166,164,163,161,172,174,169,171,178,176,183,181,184,186,189,191,143,141,138,136,133,135,128,130,155,153,158,156,145,147,148,150,245,247,240,242,255,253,250,248,225,227,228,230,235,233,238,236,220,222,217,219,214,212,211,209,200,202,205,207,194,192,199,197,166,167,164,165,163,162,161,160,172,173,174,175,169,168,171,170,178,179,176,177,183,182,181,180,184,185,186,187,189,188,191,190,143,142,141,140,138,139,136,137,133,132,135,134,128,129,130,131,155,154,153,152,158,159,156,157,145,144,147,146,148,149,150,151,245,244,247,246,240,241,242,243,255,254,253,252,250,251,248,249,225,224,227,226,228,229,230,231,235,234,233,232,238,239,236,237,220,221,222,223,217,216,219,218,214,215,212,213,211,210,209,208,200,201,202,203,205,204,207,206,194,195,192,193,199,198,197,196},{0,20,41,61,82,70,123,111,164,176,141,153,246,226,223,203,164,174,176,186,141,135,153,147,246,252,226,232,223,213,203,193,164,161,174,171,176,181,186,191,141,136,135,130,153,156,147,150,246,243,252,249,226,231,232,237,223,218,213,208,203,206,193,196,164,166,161,163,174,172,171,169,176,178,181,183,186,184,191,189,141,143,136,138,135,133,130,128,153,155,156,158,147,145,150,148,246,244,243,241,252,254,249,251,226,224,231,229,232,234,237,239,223,221,218,216,213,215,208,210,203,201,206,204,193,195,196,198,164,165,166,167,161,160,163,162,174,175,172,173,171,170,169,168,176,177,178,179,181,180,183,182,186,187,184,185,191,190,189,188,141,140,143,142,136,137,138,139,135,134,133,132,130,131,128,129,153,152,155,154,156,157,158,159,147,146,145,144,150,151,148,149,246,247,244,245,243,242,241,240,252,253,254,255,249,248,251,250,226,227,224,225,231,230,229,228,232,233,234,235,237,236,239,238,223,222,221,220,218,219,216,217,213,212,215,214,208,209,210,211,203,202,201,200,206,207,204,205,193,192,195,194,196,197,198,199},{0,23,46,57,92,75,114,101,185,174,151,128,229,242,203,220,185,178,174,165,151,156,128,139,229,238,242,249,203,192,220,215,185,188,178,183,174,171,165,160,151,146,156,153,128,133,139,142,229,224,238,235,242,247,249,252,203,206,192,197,220,217,215,210,185,187,188,190,178,176,183,181,174,172,171,169,165,167,160,162,151,149,146,144,156,158,153,155,128,130,133,135,139,137,142,140,229,231,224,226,238,236,235,233,242,240,247,245,249,251,252,254,203,201,206,204,192,194,197,199,220,222,217,219,215,213,210,208,185,184,187,186,188,189,190,191,178,179,176,177,183,182,181,180,174,175,172,173,171,170,169,168,165,164,167,166,160,161,162,163,151,150,149,148,146,147,144,145,156,157,158,159,153,152,155,154,128,129,130,131,133,132,135,134,139,138,137,136,142,143,140,141,229,228,231,230,224,225,226,227,238,239,236,237,235,234,233,232,242,243,240,241,247,246,245,244,249,248,251,250,252,253,254,255,203,202,201,200,206,207,204,205,192,193,194,195,197,196,199,198,220,221,222,223,217,216,219,218,215,214,213,212,210,211,208,209},{0,23,46,57,93,74,115,100,187,172,149,130,230,241,200,223,187,176,172,167,149,158,130,137,230,237,241,250,200,195,223,212,187,190,176,181,172,169,167,162,149,144,158,155,130,135,137,140,230,227,237,232,241,244,250,255,200,205,195,198,223,218,212,209,187,185,190,188,176,178,181,183,172,174,169,171,167,165,162,160,149,151,144,146,158,156,155,153,130,128,135,133,137,139,140,142,230,228,227,225,237,239,232,234,241,243,244,246,250,248,255,253,200,202,205,207,195,193,198,196,223,221,218,216,212,214,209,211,187,186,185,184,190,191,188,189,176,177,178,179,181,180,183,182,172,173,174,175,169,168,171,170,167,166,165,164,162,163,160,161,149,148,151,150,144,145,146,147,158,159,156,157,155,154,153,152,130,131,128,129,135,134,133,132,137,136,139,138,140,141,142,143,230,231,228,229,227,226,225,224,237,236,239,238,232,233,234,235,241,240,243,242,244,245,246,247,250,251,248,249,255,254,253,252,200,201,202,203,205,204,207,206,195,194,193,192,198,199,196,197,223,222,221,220,218,219,216,217,212,213,214,215,209,208,211,210},{0,23,47,56,94,73,113,102,189,170,146,133,227,244,204,219,189,182,170,161,146,153,133,142,227,232,244,255,204,199,219,208,189,184,182,179,170,175,161,164,146,151,153,156,133,128,142,139,227,230,232,237,244,241,255,250,204,201,199,194,219,222,208,213,189,191,184,186,182,180,179,177,170,168,175,173,161,163,164,166,146,144,151,149,153,155,156,158,133,135,128,130,142,140,139,137,227,225,230,228,232,234,237,239,244,246,241,243,255,253,250,248,204,206,201,203,199,197,194,192,219,217,222,220,208,210,213,215,189,188,191,190,184,185,186,187,182,183,180,181,179,178,177,176,170,171,168,169,175,174,173,172,161,160,163,162,164,165,166,167,146,147,144,145,151,150,149,148,153,152,155,154,156,157,158,159,133,132,135,134,128,129,130,131,142,143,140,141,139,138,137,136,227,226,225,224,230,231,228,229,232,233,234,235,237,236,239,238,244,245,246,247,241,240,243,242,255,254,253,252,250,251,248,249,204,205,206,207,201,200,203,202,199,198,197,196,194,195,192,193,219,218,217,216,222,223,220,221,208,209,210,211,213,212,215,214},{0,23,47,56,95,72,112,103,191,168,144,135,224,247,207,216,191,180,168,163,144,155,135,140,224,235,247,252,207,196,216,211,191,186,180,177,168,173,163,166,144,149,155,158,135,130,140,137,224,229,235,238,247,242,252,249,207,202,196,193,216,221,211,214,191,189,186,184,180,182,177,179,168,170,173,175,163,161,166,164,144,146,149,151,155,153,158,156,135,133,130,128,140,142,137,139,224,226,229,231,235,233,238,236,247,245,242,240,252,254,249,251,207,205,202,200,196,198,193,195,216,218,221,223,211,209,214,212,191,190,189,188,186,187,184,185,180,181,182,183,177,176,179,178,168,169,170,171,173,172,175,174,163,162,161,160,166,167,164,165,144,145,146,147,149,148,151,150,155,154,153,152,158,159,156,157,135,134,133,132,130,131,128,129,140,141,142,143,137,136,139,138,224,225,226,227,229,228,231,230,235,234,233,232,238,239,236,237,247,246,245,244,242,243,240,241,252,253,254,255,249,248,251,250,207,206,205,204,202,203,200,201,196,197,198,199,193,192,195,194,216,217,218,219,221,220,223,222,211,210,209,208,214,215,212,213},{0,22,44,58,88,78,116,98,177,167,157,139,233,255,197,211,177,186,167,172,157,150,139,128,233,226,255,244,197,206,211,216,177,180,186,191,167,162,172,169,157,152,150,147,139,142,128,133,233,236,226,231,255,250,244,241,197,192,206,203,211,214,216,221,177,179,180,182,186,184,191,189,167,165,162,160,172,174,169,171,157,159,152,154,150,148,147,145,139,137,142,140,128,130,133,135,233,235,236,238,226,224,231,229,255,253,250,248,244,246,241,243,197,199,192,194,206,204,203,201,211,209,214,212,216,218,221,223,177,176,179,178,180,181,182,183,186,187,184,185,191,190,189,188,167,166,165,164,162,163,160,161,172,173,174,175,169,168,171,170,157,156,159,158,152,153,154,155,150,151,148,149,147,146,145,144,139,138,137,136,142,143,140,141,128,129,130,131,133,132,135,134,233,232,235,234,236,237,238,239,226,227,224,225,231,230,229,228,255,254,253,252,250,251,248,249,244,245,246,247,241,240,243,242,197,196,199,198,192,193,194,195,206,207,204,205,203,202,201,200,211,210,209,208,214,215,212,213,216,217,218,219,221,220,223,222},{0,22,44,58,89,79,117,99,179,165,159,137,234,252,198,208,179,184,165,174,159,148,137,130,234,225,252,247,198,205,208,219,179,182,184,189,165,160,174,171,159,154,148,145,137,140,130,135,234,239,225,228,252,249,247,242,198,195,205,200,208,213,219,222,179,177,182,180,184,186,189,191,165,167,160,162,174,172,171,169,159,157,154,152,148,150,145,147,137,139,140,142,130,128,135,133,234,232,239,237,225,227,228,230,252,254,249,251,247,245,242,240,198,196,195,193,205,207,200,202,208,210,213,215,219,217,222,220,179,178,177,176,182,183,180,181,184,185,186,187,189,188,191,190,165,164,167,166,160,161,162,163,174,175,172,173,171,170,169,168,159,158,157,156,154,155,152,153,148,149,150,151,145,144,147,146,137,136,139,138,140,141,142,143,130,131,128,129,135,134,133,132,234,235,232,233,239,238,237,236,225,224,227,226,228,229,230,231,252,253,254,255,249,248,251,250,247,246,245,244,242,243,240,241,198,199,196,197,195,194,193,192,205,204,207,206,200,201,202,203,208,209,210,211,213,212,215,214,219,218,217,216,222,223,220,221},{0,22,45,59,90,76,119,97,181,163,152,142,239,249,194,212,181,190,163,168,152,147,142,133,239,228,249,242,194,201,212,223,181,176,190,187,163,166,168,173,152,157,147,150,142,139,133,128,239,234,228,225,249,252,242,247,194,199,201,204,212,209,223,218,181,183,176,178,190,188,187,185,163,161,166,164,168,170,173,175,152,154,157,159,147,145,150,148,142,140,139,137,133,135,128,130,239,237,234,232,228,230,225,227,249,251,252,254,242,240,247,245,194,192,199,197,201,203,204,206,212,214,209,211,223,221,218,216,181,180,183,182,176,177,178,179,190,191,188,189,187,186,185,184,163,162,161,160,166,167,164,165,168,169,170,171,173,172,175,174,152,153,154,155,157,156,159,158,147,146,145,144,150,151,148,149,142,143,140,141,139,138,137,136,133,132,135,134,128,129,130,131,239,238,237,236,234,235,232,233,228,229,230,231,225,224,227,226,249,248,251,250,252,253,254,255,242,243,240,241,247,246,245,244,194,195,192,193,199,198,197,196,201,200,203,202,204,205,206,207,212,213,214,215,209,208,211,210,223,222,221,220,218,219,216,217},{0,22,45,59,91,77,118,96,183,161,154,140,236,250,193,215,183,188,161,170,154,145,140,135,236,231,250,241,193,202,215,220,183,178,188,185,161,164,170,175,154,159,145,148,140,137,135,130,236,233,231,226,250,255,241,244,193,196,202,207,215,210,220,217,183,181,178,176,188,190,185,187,161,163,164,166,170,168,175,173,154,152,159,157,145,147,148,150,140,142,137,139,135,133,130,128,236,238,233,235,231,229,226,224,250,248,255,253,241,243,244,246,193,195,196,198,202,200,207,205,215,213,210,208,220,222,217,219,183,182,181,180,178,179,176,177,188,189,190,191,185,184,187,186,161,160,163,162,164,165,166,167,170,171,168,169,175,174,173,172,154,155,152,153,159,158,157,156,145,144,147,146,148,149,150,151,140,141,142,143,137,136,139,138,135,134,133,132,130,131,128,129,236,237,238,239,233,232,235,234,231,230,229,228,226,227,224,225,250,251,248,249,255,254,253,252,241,240,243,242,244,245,246,247,193,192,195,194,196,197,198,199,202,203,200,201,207,206,205,204,215,214,213,212,210,211,208,209,220,221,222,223,217,216,219,218},{0,31,63,32,127,96,64,95,255,224,192,223,128,159,191,160,255,240,224,239,192,207,223,208,128,143,159,144,191,176,160,175,255,248,240,247,224,231,239,232,192,199,207,200,223,216,208,215,128,135,143,136,159,152,144,151,191,184,176,183,160,167,175,168,255,252,248,251,240,243,247,244,224,227,231,228,239,236,232,235,192,195,199,196,207,204,200,203,223,220,216,219,208,211,215,212,128,131,135,132,143,140,136,139,159,156,152,155,144,147,151,148,191,188,184,187,176,179,183,180,160,163,167,164,175,172,168,171,255,254,252,253,248,249,251,250,240,241,243,242,247,246,244,245,224,225,227,226,231,230,228,229,239,238,236,237,232,233,235,234,192,193,195,194,199,198,196,197,207,206,204,205,200,201,203,202,223,222,220,221,216,217,219,218,208,209,211,210,215,214,212,213,128,129,131,130,135,134,132,133,143,142,140,141,136,137,139,138,159,158,156,157,152,153,155,154,144,145,147,146,151,150,148,149,191,190,188,189,184,185,187,186,176,177,179,178,183,182,180,181,160,161,163,162,167,166,164,165,175,174,172,173,168,169,171,170},{0,31,63,32,126,97,65,94,253,226,194,221,131,156,188,163,253,242,226,237,194,205,221,210,131,140,156,147,188,179,163,172,253,250,242,245,226,229,237,234,194,197,205,202,221,218,210,213,131,132,140,139,156,155,147,148,188,187,179,180,163,164,172,171,253,254,250,249,242,241,245,246,226,225,229,230,237,238,234,233,194,193,197,198,205,206,202,201,221,222,218,217,210,209,213,214,131,128,132,135,140,143,139,136,156,159,155,152,147,144,148,151,188,191,187,184,179,176,180,183,163,160,164,167,172,175,171,168,253,252,254,255,250,251,249,248,242,243,241,240,245,244,246,247,226,227,225,224,229,228,230,231,237,236,238,239,234,235,233,232,194,195,193,192,197,196,198,199,205,204,206,207,202,203,201,200,221,220,222,223,218,219,217,216,210,211,209,208,213,212,214,215,131,130,128,129,132,133,135,134,140,141,143,142,139,138,136,137,156,157,159,158,155,154,152,153,147,146,144,145,148,149,151,150,188,189,191,190,187,186,184,185,179,178,176,177,180,181,183,182,163,162,160,161,164,165,167,166,172,173,175,174,171,170,168,169},{0,31,62,33,125,98,67,92,250,229,196,219,135,152,185,166,250,245,229,234,196,203,219,212,135,136,152,151,185,182,166,169,250,253,245,242,229,226,234,237,196,195,203,204,219,220,212,211,135,128,136,143,152,159,151,144,185,190,182,177,166,161,169,174,250,249,253,254,245,246,242,241,229,230,226,225,234,233,237,238,196,199,195,192,203,200,204,207,219,216,220,223,212,215,211,208,135,132,128,131,136,139,143,140,152,155,159,156,151,148,144,147,185,186,190,189,182,181,177,178,166,165,161,162,169,170,174,173,250,251,249,248,253,252,254,255,245,244,246,247,242,243,241,240,229,228,230,231,226,227,225,224,234,235,233,232,237,236,238,239,196,197,199,198,195,194,192,193,203,202,200,201,204,205,207,206,219,218,216,217,220,221,223,222,212,213,215,214,211,210,208,209,135,134,132,133,128,129,131,130,136,137,139,138,143,142,140,141,152,153,155,154,159,158,156,157,151,150,148,149,144,145,147,146,185,184,186,187,190,191,189,188,182,183,181,180,177,176,178,179,166,167,165,164,161,160,162,163,169,168,170,171,174,175,173,172},{0,31,62,33,124,99,66,93,248,231,198,217,132,155,186,165,248,247,231,232,198,201,217,214,132,139,155,148,186,181,165,170,248,255,247,240,231,224,232,239,198,193,201,206,217,222,214,209,132,131,139,140,155,156,148,147,186,189,181,178,165,162,170,173,248,251,255,252,247,244,240,243,231,228,224,227,232,235,239,236,198,197,193,194,201,202,206,205,217,218,222,221,214,213,209,210,132,135,131,128,139,136,140,143,155,152,156,159,148,151,147,144,186,185,189,190,181,182,178,177,165,166,162,161,170,169,173,174,248,249,251,250,255,254,252,253,247,246,244,245,240,241,243,242,231,230,228,229,224,225,227,226,232,233,235,234,239,238,236,237,198,199,197,196,193,192,194,195,201,200,202,203,206,207,205,204,217,216,218,219,222,223,221,220,214,215,213,212,209,208,210,211,132,133,135,134,131,130,128,129,139,138,136,137,140,141,143,142,155,154,152,153,156,157,159,158,148,149,151,150,147,146,144,145,186,187,185,184,189,188,190,191,181,180,182,183,178,179,177,176,165,164,166,167,162,163,161,160,170,171,169,168,173,172,174,175},{0,30,61,35,122,100,71,89,245,235,200,214,143,145,178,172,245,250,235,228,200,199,214,217,143,128,145,158,178,189,172,163,245,242,250,253,235,236,228,227,200,207,199,192,214,209,217,222,143,136,128,135,145,150,158,153,178,181,189,186,172,171,163,164,245,246,242,241,250,249,253,254,235,232,236,239,228,231,227,224,200,203,207,204,199,196,192,195,214,213,209,210,217,218,222,221,143,140,136,139,128,131,135,132,145,146,150,149,158,157,153,154,178,177,181,182,189,190,186,185,172,175,171,168,163,160,164,167,245,244,246,247,242,243,241,240,250,251,249,248,253,252,254,255,235,234,232,233,236,237,239,238,228,229,231,230,227,226,224,225,200,201,203,202,207,206,204,205,199,198,196,197,192,193,195,194,214,215,213,212,209,208,210,211,217,216,218,219,222,223,221,220,143,142,140,141,136,137,139,138,128,129,131,130,135,134,132,133,145,144,146,147,150,151,149,148,158,159,157,156,153,152,154,155,178,179,177,176,181,180,182,183,189,188,190,191,186,187,185,184,172,173,175,174,171,170,168,169,163,162,160,161,164,165,167,166},{0,30,61,35,123,101,70,88,247,233,202,212,140,146,177,175,247,248,233,230,202,197,212,219,140,131,146,157,177,190,175,160,247,240,248,255,233,238,230,225,202,205,197,194,212,211,219,220,140,139,131,132,146,149,157,154,177,182,190,185,175,168,160,167,247,244,240,243,248,251,255,252,233,234,238,237,230,229,225,226,202,201,205,206,197,198,194,193,212,215,211,208,219,216,220,223,140,143,139,136,131,128,132,135,146,145,149,150,157,158,154,153,177,178,182,181,190,189,185,186,175,172,168,171,160,163,167,164,247,246,244,245,240,241,243,242,248,249,251,250,255,254,252,253,233,232,234,235,238,239,237,236,230,231,229,228,225,224,226,227,202,203,201,200,205,204,206,207,197,196,198,199,194,195,193,192,212,213,215,214,211,210,208,209,219,218,216,217,220,221,223,222,140,141,143,142,139,138,136,137,131,130,128,129,132,133,135,134,146,147,145,144,149,148,150,151,157,156,158,159,154,155,153,152,177,176,178,179,182,183,181,180,190,191,189,188,185,184,186,187,175,174,172,173,168,169,171,170,160,161,163,162,167,166,164,165},{0,30,60,34,120,102,68,90,240,238,204,210,136,150,180,170,240,255,238,225,204,195,210,221,136,135,150,153,180,187,170,165,240,247,255,248,238,233,225,230,204,203,195,196,210,213,221,218,136,143,135,128,150,145,153,158,180,179,187,188,170,173,165,162,240,243,247,244,255,252,248,251,238,237,233,234,225,226,230,229,204,207,203,200,195,192,196,199,210,209,213,214,221,222,218,217,136,139,143,140,135,132,128,131,150,149,145,146,153,154,158,157,180,183,179,176,187,184,188,191,170,169,173,174,165,166,162,161,240,241,243,242,247,246,244,245,255,254,252,253,248,249,251,250,238,239,237,236,233,232,234,235,225,224,226,227,230,231,229,228,204,205,207,206,203,202,200,201,195,194,192,193,196,197,199,198,210,211,209,208,213,212,214,215,221,220,222,223,218,219,217,216,136,137,139,138,143,142,140,141,135,134,132,133,128,129,131,130,150,151,149,148,145,144,146,147,153,152,154,155,158,159,157,156,180,181,183,182,179,178,176,177,187,186,184,185,188,189,191,190,170,171,169,168,173,172,174,175,165,164,166,167,162,163,161,160},{0,30,60,34,121,103,69,91,242,236,206,208,139,149,183,169,242,253,236,227,206,193,208,223,139,132,149,154,183,184,169,166,242,245,253,250,236,235,227,228,206,201,193,198,208,215,223,216,139,140,132,131,149,146,154,157,183,176,184,191,169,174,166,161,242,241,245,246,253,254,250,249,236,239,235,232,227,224,228,231,206,205,201,202,193,194,198,197,208,211,215,212,223,220,216,219,139,136,140,143,132,135,131,128,149,150,146,145,154,153,157,158,183,180,176,179,184,187,191,188,169,170,174,173,166,165,161,162,242,243,241,240,245,244,246,247,253,252,254,255,250,251,249,248,236,237,239,238,235,234,232,233,227,226,224,225,228,229,231,230,206,207,205,204,201,200,202,203,193,192,194,195,198,199,197,196,208,209,211,210,215,214,212,213,223,222,220,221,216,217,219,218,139,138,136,137,140,141,143,142,132,133,135,134,131,130,128,129,149,148,150,151,146,147,145,144,154,155,153,152,157,156,158,159,183,182,180,181,176,177,179,178,184,185,187,186,191,190,188,189,169,168,170,171,174,175,173,172,166,167,165,164,161,160,162,163},{0,29,58,39,116,105,78,83,233,244,211,206,157,128,167,186,233,231,244,250,211,221,206,192,157,147,128,142,167,169,186,180,233,238,231,224,244,243,250,253,211,212,221,218,206,201,192,199,157,154,147,148,128,135,142,137,167,160,169,174,186,189,180,179,233,234,238,237,231,228,224,227,244,247,243,240,250,249,253,254,211,208,212,215,221,222,218,217,206,205,201,202,192,195,199,196,157,158,154,153,147,144,148,151,128,131,135,132,142,141,137,138,167,164,160,163,169,170,174,173,186,185,189,190,180,183,179,176,233,232,234,235,238,239,237,236,231,230,228,229,224,225,227,226,244,245,247,246,243,242,240,241,250,251,249,248,253,252,254,255,211,210,208,209,212,213,215,214,221,220,222,223,218,219,217,216,206,207,205,204,201,200,202,203,192,193,195,194,199,198,196,197,157,156,158,159,154,155,153,152,147,146,144,145,148,149,151,150,128,129,131,130,135,134,132,133,142,143,141,140,137,136,138,139,167,166,164,165,160,161,163,162,169,168,170,171,174,175,173,172,186,187,185,184,189,188,190,191,180,181,183,182,179,178,176,177},{0,29,58,39,117,104,79,82,235,246,209,204,158,131,164,185,235,229,246,248,209,223,204,194,158,144,131,141,164,170,185,183,235,236,229,226,246,241,248,255,209,214,223,216,204,203,194,197,158,153,144,151,131,132,141,138,164,163,170,173,185,190,183,176,235,232,236,239,229,230,226,225,246,245,241,242,248,251,255,252,209,210,214,213,223,220,216,219,204,207,203,200,194,193,197,198,158,157,153,154,144,147,151,148,131,128,132,135,141,142,138,137,164,167,163,160,170,169,173,174,185,186,190,189,183,180,176,179,235,234,232,233,236,237,239,238,229,228,230,231,226,227,225,224,246,247,245,244,241,240,242,243,248,249,251,250,255,254,252,253,209,208,210,211,214,215,213,212,223,222,220,221,216,217,219,218,204,205,207,206,203,202,200,201,194,195,193,192,197,196,198,199,158,159,157,156,153,152,154,155,144,145,147,146,151,150,148,149,131,130,128,129,132,133,135,134,141,140,142,143,138,139,137,136,164,165,167,166,163,162,160,161,170,171,169,168,173,172,174,175,185,184,186,187,190,191,189,188,183,182,180,181,176,177,179,178},{0,29,59,38,118,107,77,80,236,241,215,202,154,135,161,188,236,226,241,255,215,217,202,196,154,148,135,137,161,175,188,178,236,235,226,229,241,246,255,248,215,208,217,222,202,205,196,195,154,157,148,147,135,128,137,142,161,166,175,168,188,187,178,181,236,239,235,232,226,225,229,230,241,242,246,245,255,252,248,251,215,212,208,211,217,218,222,221,202,201,205,206,196,199,195,192,154,153,157,158,148,151,147,144,135,132,128,131,137,138,142,141,161,162,166,165,175,172,168,171,188,191,187,184,178,177,181,182,236,237,239,238,235,234,232,233,226,227,225,224,229,228,230,231,241,240,242,243,246,247,245,244,255,254,252,253,248,249,251,250,215,214,212,213,208,209,211,210,217,216,218,219,222,223,221,220,202,203,201,200,205,204,206,207,196,197,199,198,195,194,192,193,154,155,153,152,157,156,158,159,148,149,151,150,147,146,144,145,135,134,132,133,128,129,131,130,137,136,138,139,142,143,141,140,161,160,162,163,166,167,165,164,175,174,172,173,168,169,171,170,188,189,191,190,187,186,184,185,178,179,177,176,181,180,182,183},{0,29,59,38,119,106,76,81,238,243,213,200,153,132,162,191,238,224,243,253,213,219,200,198,153,151,132,138,162,172,191,177,238,233,224,231,243,244,253,250,213,210,219,220,200,207,198,193,153,158,151,144,132,131,138,141,162,165,172,171,191,184,177,182,238,237,233,234,224,227,231,228,243,240,244,247,253,254,250,249,213,214,210,209,219,216,220,223,200,203,207,204,198,197,193,194,153,154,158,157,151,148,144,147,132,135,131,128,138,137,141,142,162,161,165,166,172,175,171,168,191,188,184,187,177,178,182,181,238,239,237,236,233,232,234,235,224,225,227,226,231,230,228,229,243,242,240,241,244,245,247,246,253,252,254,255,250,251,249,248,213,212,214,215,210,211,209,208,219,218,216,217,220,221,223,222,200,201,203,202,207,206,204,205,198,199,197,196,193,192,194,195,153,152,154,155,158,159,157,156,151,150,148,149,144,145,147,146,132,133,135,134,131,130,128,129,138,139,137,136,141,140,142,143,162,163,161,160,165,164,166,167,172,173,175,174,171,170,168,169,191,190,188,189,184,185,187,186,177,176,178,179,182,183,181,180},{0,28,56,36,113,109,73,85,227,255,219,199,146,142,170,182,227,237,255,241,219,213,199,201,146,156,142,128,170,164,182,184,227,228,237,234,255,248,241,246,219,220,213,210,199,192,201,206,146,149,156,155,142,137,128,135,170,173,164,163,182,177,184,191,227,224,228,231,237,238,234,233,255,252,248,251,241,242,246,245,219,216,220,223,213,214,210,209,199,196,192,195,201,202,206,205,146,145,149,150,156,159,155,152,142,141,137,138,128,131,135,132,170,169,173,174,164,167,163,160,182,181,177,178,184,187,191,188,227,226,224,225,228,229,231,230,237,236,238,239,234,235,233,232,255,254,252,253,248,249,251,250,241,240,242,243,246,247,245,244,219,218,216,217,220,221,223,222,213,212,214,215,210,211,209,208,199,198,196,197,192,193,195,194,201,200,202,203,206,207,205,204,146,147,145,144,149,148,150,151,156,157,159,158,155,154,152,153,142,143,141,140,137,136,138,139,128,129,131,130,135,134,132,133,170,171,169,168,173,172,174,175,164,165,167,166,163,162,160,161,182,183,181,180,177,176,178,179,184,185,187,186,191,190,188,189},{0,28,56,36,112,108,72,84,225,253,217,197,145,141,169,181,225,239,253,243,217,215,197,203,145,159,141,131,169,167,181,187,225,230,239,232,253,250,243,244,217,222,215,208,197,194,203,204,145,150,159,152,141,138,131,132,169,174,167,160,181,178,187,188,225,226,230,229,239,236,232,235,253,254,250,249,243,240,244,247,217,218,222,221,215,212,208,211,197,198,194,193,203,200,204,207,145,146,150,149,159,156,152,155,141,142,138,137,131,128,132,135,169,170,174,173,167,164,160,163,181,182,178,177,187,184,188,191,225,224,226,227,230,231,229,228,239,238,236,237,232,233,235,234,253,252,254,255,250,251,249,248,243,242,240,241,244,245,247,246,217,216,218,219,222,223,221,220,215,214,212,213,208,209,211,210,197,196,198,199,194,195,193,192,203,202,200,201,204,205,207,206,145,144,146,147,150,151,149,148,159,158,156,157,152,153,155,154,141,140,142,143,138,139,137,136,131,130,128,129,132,133,135,134,169,168,170,171,174,175,173,172,167,166,164,165,160,161,163,162,181,180,182,183,178,179,177,176,187,186,184,185,188,189,191,190},{0,28,57,37,115,111,74,86,230,250,223,195,149,137,172,176,230,232,250,244,223,209,195,205,149,155,137,135,172,162,176,190,230,225,232,239,250,253,244,243,223,216,209,214,195,196,205,202,149,146,155,156,137,142,135,128,172,171,162,165,176,183,190,185,230,229,225,226,232,235,239,236,250,249,253,254,244,247,243,240,223,220,216,219,209,210,214,213,195,192,196,199,205,206,202,201,149,150,146,145,155,152,156,159,137,138,142,141,135,132,128,131,172,175,171,168,162,161,165,166,176,179,183,180,190,189,185,186,230,231,229,228,225,224,226,227,232,233,235,234,239,238,236,237,250,251,249,248,253,252,254,255,244,245,247,246,243,242,240,241,223,222,220,221,216,217,219,218,209,208,210,211,214,215,213,212,195,194,192,193,196,197,199,198,205,204,206,207,202,203,201,200,149,148,150,151,146,147,145,144,155,154,152,153,156,157,159,158,137,136,138,139,142,143,141,140,135,134,132,133,128,129,131,130,172,173,175,174,171,170,168,169,162,163,161,160,165,164,166,167,176,177,179,178,183,182,180,181,190,191,189,188,185,184,186,187},{0,28,57,37,114,110,75,87,228,248,221,193,150,138,175,179,228,234,248,246,221,211,193,207,150,152,138,132,175,161,179,189,228,227,234,237,248,255,246,241,221,218,211,212,193,198,207,200,150,145,152,159,138,141,132,131,175,168,161,166,179,180,189,186,228,231,227,224,234,233,237,238,248,251,255,252,246,245,241,242,221,222,218,217,211,208,212,215,193,194,198,197,207,204,200,203,150,149,145,146,152,155,159,156,138,137,141,142,132,135,131,128,175,172,168,171,161,162,166,165,179,176,180,183,189,190,186,185,228,229,231,230,227,226,224,225,234,235,233,232,237,236,238,239,248,249,251,250,255,254,252,253,246,247,245,244,241,240,242,243,221,220,222,223,218,219,217,216,211,210,208,209,212,213,215,214,193,192,194,195,198,199,197,196,207,206,204,205,200,201,203,202,150,151,149,148,145,144,146,147,152,153,155,154,159,158,156,157,138,139,137,136,141,140,142,143,132,133,135,134,131,130,128,129,175,174,172,173,168,169,171,170,161,160,162,163,166,167,165,164,179,178,176,177,180,181,183,182,189,188,190,191,186,187,185,184},{0,27,54,45,109,118,91,64,219,192,237,246,182,173,128,155,219,214,192,205,237,224,246,251,182,187,173,160,128,141,155,150,219,221,214,208,192,198,205,203,237,235,224,230,246,240,251,253,182,176,187,189,173,171,160,166,128,134,141,139,155,157,150,144,219,216,221,222,214,213,208,211,192,195,198,197,205,206,203,200,237,238,235,232,224,227,230,229,246,245,240,243,251,248,253,254,182,181,176,179,187,184,189,190,173,174,171,168,160,163,166,165,128,131,134,133,141,142,139,136,155,152,157,158,150,149,144,147,219,218,216,217,221,220,222,223,214,215,213,212,208,209,211,210,192,193,195,194,198,199,197,196,205,204,206,207,203,202,200,201,237,236,238,239,235,234,232,233,224,225,227,226,230,231,229,228,246,247,245,244,240,241,243,242,251,250,248,249,253,252,254,255,182,183,181,180,176,177,179,178,187,186,184,185,189,188,190,191,173,172,174,175,171,170,168,169,160,161,163,162,166,167,165,164,128,129,131,130,134,135,133,132,141,140,142,143,139,138,136,137,155,154,152,153,157,156,158,159,150,151,149,148,144,145,147,146},{0,27,54,45,108,119,90,65,217,194,239,244,181,174,131,152,217,212,194,207,239,226,244,249,181,184,174,163,131,142,152,149,217,223,212,210,194,196,207,201,239,233,226,228,244,242,249,255,181,179,184,190,174,168,163,165,131,133,142,136,152,158,149,147,217,218,223,220,212,215,210,209,194,193,196,199,207,204,201,202,239,236,233,234,226,225,228,231,244,247,242,241,249,250,255,252,181,182,179,176,184,187,190,189,174,173,168,171,163,160,165,166,131,128,133,134,142,141,136,139,152,155,158,157,149,150,147,144,217,216,218,219,223,222,220,221,212,213,215,214,210,211,209,208,194,195,193,192,196,197,199,198,207,206,204,205,201,200,202,203,239,238,236,237,233,232,234,235,226,227,225,224,228,229,231,230,244,245,247,246,242,243,241,240,249,248,250,251,255,254,252,253,181,180,182,183,179,178,176,177,184,185,187,186,190,191,189,188,174,175,173,172,168,169,171,170,163,162,160,161,165,164,166,167,131,130,128,129,133,132,134,135,142,143,141,140,136,137,139,138,152,153,155,154,158,159,157,156,149,148,150,151,147,146,144,145},{0,27,55,44,111,116,88,67,222,197,233,242,177,170,134,157,222,211,197,200,233,228,242,255,177,188,170,167,134,139,157,144,222,216,211,213,197,195,200,206,233,239,228,226,242,244,255,249,177,183,188,186,170,172,167,161,134,128,139,141,157,155,144,150,222,221,216,219,211,208,213,214,197,198,195,192,200,203,206,205,233,234,239,236,228,231,226,225,242,241,244,247,255,252,249,250,177,178,183,180,188,191,186,185,170,169,172,175,167,164,161,162,134,133,128,131,139,136,141,142,157,158,155,152,144,147,150,149,222,223,221,220,216,217,219,218,211,210,208,209,213,212,214,215,197,196,198,199,195,194,192,193,200,201,203,202,206,207,205,204,233,232,234,235,239,238,236,237,228,229,231,230,226,227,225,224,242,243,241,240,244,245,247,246,255,254,252,253,249,248,250,251,177,176,178,179,183,182,180,181,188,189,191,190,186,187,185,184,170,171,169,168,172,173,175,174,167,166,164,165,161,160,162,163,134,135,133,132,128,129,131,130,139,138,136,137,141,140,142,143,157,156,158,159,155,154,152,153,144,145,147,146,150,151,149,148},{0,27,55,44,110,117,89,66,220,199,235,240,178,169,133,158,220,209,199,202,235,230,240,253,178,191,169,164,133,136,158,147,220,218,209,215,199,193,202,204,235,237,230,224,240,246,253,251,178,180,191,185,169,175,164,162,133,131,136,142,158,152,147,149,220,223,218,217,209,210,215,212,199,196,193,194,202,201,204,207,235,232,237,238,230,229,224,227,240,243,246,245,253,254,251,248,178,177,180,183,191,188,185,186,169,170,175,172,164,167,162,161,133,134,131,128,136,139,142,141,158,157,152,155,147,144,149,150,220,221,223,222,218,219,217,216,209,208,210,211,215,214,212,213,199,198,196,197,193,192,194,195,202,203,201,200,204,205,207,206,235,234,232,233,237,236,238,239,230,231,229,228,224,225,227,226,240,241,243,242,246,247,245,244,253,252,254,255,251,250,248,249,178,179,177,176,180,181,183,182,191,190,188,189,185,184,186,187,169,168,170,171,175,174,172,173,164,165,167,166,162,163,161,160,133,132,134,135,131,130,128,129,136,137,139,138,142,143,141,140,158,159,157,156,152,153,155,154,147,146,144,145,149,148,150,151},{0,26,52,46,104,114,92,70,209,203,229,255,185,163,141,151,209,220,203,198,229,232,255,242,185,180,163,174,141,128,151,154,209,215,220,218,203,205,198,192,229,227,232,238,255,249,242,244,185,191,180,178,163,165,174,168,141,139,128,134,151,145,154,156,209,210,215,212,220,223,218,217,203,200,205,206,198,197,192,195,229,230,227,224,232,235,238,237,255,252,249,250,242,241,244,247,185,186,191,188,180,183,178,177,163,160,165,166,174,173,168,171,141,142,139,136,128,131,134,133,151,148,145,146,154,153,156,159,209,208,210,211,215,214,212,213,220,221,223,222,218,219,217,216,203,202,200,201,205,204,206,207,198,199,197,196,192,193,195,194,229,228,230,231,227,226,224,225,232,233,235,234,238,239,237,236,255,254,252,253,249,248,250,251,242,243,241,240,244,245,247,246,185,184,186,187,191,190,188,189,180,181,183,182,178,179,177,176,163,162,160,161,165,164,166,167,174,175,173,172,168,169,171,170,141,140,142,143,139,138,136,137,128,129,131,130,134,135,133,132,151,150,148,149,145,144,146,147,154,155,153,152,156,157,159,158},{0,26,52,46,105,115,93,71,211,201,231,253,186,160,142,148,211,222,201,196,231,234,253,240,186,183,160,173,142,131,148,153,211,213,222,216,201,207,196,194,231,225,234,236,253,251,240,246,186,188,183,177,160,166,173,171,142,136,131,133,148,146,153,159,211,208,213,214,222,221,216,219,201,202,207,204,196,199,194,193,231,228,225,226,234,233,236,239,253,254,251,248,240,243,246,245,186,185,188,191,183,180,177,178,160,163,166,165,173,174,171,168,142,141,136,139,131,128,133,134,148,151,146,145,153,154,159,156,211,210,208,209,213,212,214,215,222,223,221,220,216,217,219,218,201,200,202,203,207,206,204,205,196,197,199,198,194,195,193,192,231,230,228,229,225,224,226,227,234,235,233,232,236,237,239,238,253,252,254,255,251,250,248,249,240,241,243,242,246,247,245,244,186,187,185,184,188,189,191,190,183,182,180,181,177,176,178,179,160,161,163,162,166,167,165,164,173,172,174,175,171,170,168,169,142,143,141,140,136,137,139,138,131,130,128,129,133,132,134,135,148,149,151,150,146,147,145,144,153,152,154,155,159,158,156,157},{0,26,53,47,106,112,95,69,212,206,225,251,190,164,139,145,212,217,206,195,225,236,251,246,190,179,164,169,139,134,145,156,212,210,217,223,206,200,195,197,225,231,236,234,251,253,246,240,190,184,179,181,164,162,169,175,139,141,134,128,145,151,156,154,212,215,210,209,217,218,223,220,206,205,200,203,195,192,197,198,225,226,231,228,236,239,234,233,251,248,253,254,246,245,240,243,190,189,184,187,179,176,181,182,164,167,162,161,169,170,175,172,139,136,141,142,134,133,128,131,145,146,151,148,156,159,154,153,212,213,215,214,210,211,209,208,217,216,218,219,223,222,220,221,206,207,205,204,200,201,203,202,195,194,192,193,197,196,198,199,225,224,226,227,231,230,228,229,236,237,239,238,234,235,233,232,251,250,248,249,253,252,254,255,246,247,245,244,240,241,243,242,190,191,189,188,184,185,187,186,179,178,176,177,181,180,182,183,164,165,167,166,162,163,161,160,169,168,170,171,175,174,172,173,139,138,136,137,141,140,142,143,134,135,133,132,128,129,131,130,145,144,146,147,151,150,148,149,156,157,159,158,154,155,153,152},{0,26,53,47,107,113,94,68,214,204,227,249,189,167,136,146,214,219,204,193,227,238,249,244,189,176,167,170,136,133,146,159,214,208,219,221,204,202,193,199,227,229,238,232,249,255,244,242,189,187,176,182,167,161,170,172,136,142,133,131,146,148,159,153,214,213,208,211,219,216,221,222,204,207,202,201,193,194,199,196,227,224,229,230,238,237,232,235,249,250,255,252,244,247,242,241,189,190,187,184,176,179,182,181,167,164,161,162,170,169,172,175,136,139,142,141,133,134,131,128,146,145,148,151,159,156,153,154,214,215,213,212,208,209,211,210,219,218,216,217,221,220,222,223,204,205,207,206,202,203,201,200,193,192,194,195,199,198,196,197,227,226,224,225,229,228,230,231,238,239,237,236,232,233,235,234,249,248,250,251,255,254,252,253,244,245,247,246,242,243,241,240,189,188,190,191,187,186,184,185,176,177,179,178,182,183,181,180,167,166,164,165,161,160,162,163,170,171,169,168,172,173,175,174,136,137,139,138,142,143,141,140,133,132,134,135,131,130,128,129,146,147,145,144,148,149,151,150,159,158,156,157,153,152,154,155},{0,25,51,42,102,127,85,76,204,213,255,230,170,179,153,128,204,192,213,217,255,243,230,234,170,166,179,191,153,149,128,140,204,202,192,198,213,211,217,223,255,249,243,245,230,224,234,236,170,172,166,160,179,181,191,185,153,159,149,147,128,134,140,138,204,207,202,201,192,195,198,197,213,214,211,208,217,218,223,220,255,252,249,250,243,240,245,246,230,229,224,227,234,233,236,239,170,169,172,175,166,165,160,163,179,176,181,182,191,188,185,186,153,154,159,156,149,150,147,144,128,131,134,133,140,143,138,137,204,205,207,206,202,203,201,200,192,193,195,194,198,199,197,196,213,212,214,215,211,210,208,209,217,216,218,219,223,222,220,221,255,254,252,253,249,248,250,251,243,242,240,241,245,244,246,247,230,231,229,228,224,225,227,226,234,235,233,232,236,237,239,238,170,171,169,168,172,173,175,174,166,167,165,164,160,161,163,162,179,178,176,177,181,180,182,183,191,190,188,189,185,184,186,187,153,152,154,155,159,158,156,157,149,148,150,151,147,146,144,145,128,129,131,130,134,135,133,132,140,141,143,142,138,139,137,136},{0,25,51,42,103,126,84,77,206,215,253,228,169,176,154,131,206,194,215,219,253,241,228,232,169,165,176,188,154,150,131,143,206,200,194,196,215,209,219,221,253,251,241,247,228,226,232,238,169,175,165,163,176,182,188,186,154,156,150,144,131,133,143,137,206,205,200,203,194,193,196,199,215,212,209,210,219,216,221,222,253,254,251,248,241,242,247,244,228,231,226,225,232,235,238,237,169,170,175,172,165,166,163,160,176,179,182,181,188,191,186,185,154,153,156,159,150,149,144,147,131,128,133,134,143,140,137,138,206,207,205,204,200,201,203,202,194,195,193,192,196,197,199,198,215,214,212,213,209,208,210,211,219,218,216,217,221,220,222,223,253,252,254,255,251,250,248,249,241,240,242,243,247,246,244,245,228,229,231,230,226,227,225,224,232,233,235,234,238,239,237,236,169,168,170,171,175,174,172,173,165,164,166,167,163,162,160,161,176,177,179,178,182,183,181,180,188,189,191,190,186,187,185,184,154,155,153,152,156,157,159,158,150,151,149,148,144,145,147,146,131,130,128,129,133,132,134,135,143,142,140,141,137,136,138,139},{0,25,50,43,100,125,86,79,201,208,251,226,173,180,159,134,201,197,208,220,251,247,226,238,173,161,180,184,159,147,134,138,201,207,197,195,208,214,220,218,251,253,247,241,226,228,238,232,173,171,161,167,180,178,184,190,159,153,147,149,134,128,138,140,201,202,207,204,197,198,195,192,208,211,214,213,220,223,218,217,251,248,253,254,247,244,241,242,226,225,228,231,238,237,232,235,173,174,171,168,161,162,167,164,180,183,178,177,184,187,190,189,159,156,153,154,147,144,149,150,134,133,128,131,138,137,140,143,201,200,202,203,207,206,204,205,197,196,198,199,195,194,192,193,208,209,211,210,214,215,213,212,220,221,223,222,218,219,217,216,251,250,248,249,253,252,254,255,247,246,244,245,241,240,242,243,226,227,225,224,228,229,231,230,238,239,237,236,232,233,235,234,173,172,174,175,171,170,168,169,161,160,162,163,167,166,164,165,180,181,183,182,178,179,177,176,184,185,187,186,190,191,189,188,159,158,156,157,153,152,154,155,147,146,144,145,149,148,150,151,134,135,133,132,128,129,131,130,138,139,137,136,140,141,143,142},{0,25,50,43,101,124,87,78,203,210,249,224,174,183,156,133,203,199,210,222,249,245,224,236,174,162,183,187,156,144,133,137,203,205,199,193,210,212,222,216,249,255,245,243,224,230,236,234,174,168,162,164,183,177,187,189,156,154,144,150,133,131,137,143,203,200,205,206,199,196,193,194,210,209,212,215,222,221,216,219,249,250,255,252,245,246,243,240,224,227,230,229,236,239,234,233,174,173,168,171,162,161,164,167,183,180,177,178,187,184,189,190,156,159,154,153,144,147,150,149,133,134,131,128,137,138,143,140,203,202,200,201,205,204,206,207,199,198,196,197,193,192,194,195,210,211,209,208,212,213,215,214,222,223,221,220,216,217,219,218,249,248,250,251,255,254,252,253,245,244,246,247,243,242,240,241,224,225,227,226,230,231,229,228,236,237,239,238,234,235,233,232,174,175,173,172,168,169,171,170,162,163,161,160,164,165,167,166,183,182,180,181,177,176,178,179,187,186,184,185,189,188,190,191,156,157,159,158,154,155,153,152,144,145,147,146,150,151,149,148,133,132,134,135,131,130,128,129,137,136,138,139,143,142,140,141},{0,24,49,41,99,123,82,74,198,222,247,239,165,189,148,140,198,202,222,210,247,251,239,227,165,169,189,177,148,152,140,128,198,192,202,204,222,216,210,212,247,241,251,253,239,233,227,229,165,163,169,175,189,187,177,183,148,146,152,158,140,138,128,134,198,197,192,195,202,201,204,207,222,221,216,219,210,209,212,215,247,244,241,242,251,248,253,254,239,236,233,234,227,224,229,230,165,166,163,160,169,170,175,172,189,190,187,184,177,178,183,180,148,151,146,145,152,155,158,157,140,143,138,137,128,131,134,133,198,199,197,196,192,193,195,194,202,203,201,200,204,205,207,206,222,223,221,220,216,217,219,218,210,211,209,208,212,213,215,214,247,246,244,245,241,240,242,243,251,250,248,249,253,252,254,255,239,238,236,237,233,232,234,235,227,226,224,225,229,228,230,231,165,164,166,167,163,162,160,161,169,168,170,171,175,174,172,173,189,188,190,191,187,186,184,185,177,176,178,179,183,182,180,181,148,149,151,150,146,147,145,144,152,153,155,154,158,159,157,156,140,141,143,142,138,139,137,136,128,129,131,130,134,135,133,132},{0,24,49,41,98,122,83,75,196,220,245,237,166,190,151,143,196,200,220,208,245,249,237,225,166,170,190,178,151,155,143,131,196,194,200,206,220,218,208,214,245,243,249,255,237,235,225,231,166,160,170,172,190,184,178,180,151,145,155,157,143,137,131,133,196,199,194,193,200,203,206,205,220,223,218,217,208,211,214,213,245,246,243,240,249,250,255,252,237,238,235,232,225,226,231,228,166,165,160,163,170,169,172,175,190,189,184,187,178,177,180,183,151,148,145,146,155,152,157,158,143,140,137,138,131,128,133,134,196,197,199,198,194,195,193,192,200,201,203,202,206,207,205,204,220,221,223,222,218,219,217,216,208,209,211,210,214,215,213,212,245,244,246,247,243,242,240,241,249,248,250,251,255,254,252,253,237,236,238,239,235,234,232,233,225,224,226,227,231,230,228,229,166,167,165,164,160,161,163,162,170,171,169,168,172,173,175,174,190,191,189,188,184,185,187,186,178,179,177,176,180,181,183,182,151,150,148,149,145,144,146,147,155,154,152,153,157,156,158,159,143,142,140,141,137,136,138,139,131,130,128,129,133,132,134,135},{0,24,48,40,97,121,81,73,195,219,243,235,162,186,146,138,195,207,219,215,243,255,235,231,162,174,186,182,146,158,138,134,195,197,207,201,219,221,215,209,243,245,255,249,235,237,231,225,162,164,174,168,186,188,182,176,146,148,158,152,138,140,134,128,195,192,197,198,207,204,201,202,219,216,221,222,215,212,209,210,243,240,245,246,255,252,249,250,235,232,237,238,231,228,225,226,162,161,164,167,174,173,168,171,186,185,188,191,182,181,176,179,146,145,148,151,158,157,152,155,138,137,140,143,134,133,128,131,195,194,192,193,197,196,198,199,207,206,204,205,201,200,202,203,219,218,216,217,221,220,222,223,215,214,212,213,209,208,210,211,243,242,240,241,245,244,246,247,255,254,252,253,249,248,250,251,235,234,232,233,237,236,238,239,231,230,228,229,225,224,226,227,162,163,161,160,164,165,167,166,174,175,173,172,168,169,171,170,186,187,185,184,188,189,191,190,182,183,181,180,176,177,179,178,146,147,145,144,148,149,151,150,158,159,157,156,152,153,155,154,138,139,137,136,140,141,143,142,134,135,133,132,128,129,131,130},{0,24,48,40,96,120,80,72,193,217,241,233,161,185,145,137,193,205,217,213,241,253,233,229,161,173,185,181,145,157,137,133,193,199,205,203,217,223,213,211,241,247,253,251,233,239,229,227,161,167,173,171,185,191,181,179,145,151,157,155,137,143,133,131,193,194,199,196,205,206,203,200,217,218,223,220,213,214,211,208,241,242,247,244,253,254,251,248,233,234,239,236,229,230,227,224,161,162,167,164,173,174,171,168,185,186,191,188,181,182,179,176,145,146,151,148,157,158,155,152,137,138,143,140,133,134,131,128,193,192,194,195,199,198,196,197,205,204,206,207,203,202,200,201,217,216,218,219,223,222,220,221,213,212,214,215,211,210,208,209,241,240,242,243,247,246,244,245,253,252,254,255,251,250,248,249,233,232,234,235,239,238,236,237,229,228,230,231,227,226,224,225,161,160,162,163,167,166,164,165,173,172,174,175,171,170,168,169,185,184,186,187,191,190,188,189,181,180,182,183,179,178,176,177,145,144,146,147,151,150,148,149,157,156,158,159,155,154,152,153,137,136,138,139,143,142,140,141,133,132,134,135,131,130,128,129},{0,8,16,24,32,40,48,56,64,72,80,88,96,104,112,120,128,136,144,152,160,168,176,184,192,200,208,216,224,232,240,248,128,132,136,140,144,148,152,156,160,164,168,172,176,180,184,188,192,196,200,204,208,212,216,220,224,228,232,236,240,244,248,252,128,130,132,134,136,138,140,142,144,146,148,150,152,154,156,158,160,162,164,166,168,170,172,174,176,178,180,182,184,186,188,190,192,194,196,198,200,202,204,206,208,210,212,214,216,218,220,222,224,226,228,230,232,234,236,238,240,242,244,246,248,250,252,254,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255},{0,8,16,24,32,40,48,56,64,72,80,88,96,104,112,120,129,137,145,153,161,169,177,185,193,201,209,217,225,233,241,249,129,133,137,141,145,149,153,157,161,165,169,173,177,181,185,189,193,197,201,205,209,213,217,221,225,229,233,237,241,245,249,253,129,131,133,135,137,139,141,143,145,147,149,151,153,155,157,159,161,163,165,167,169,171,173,175,177,179,181,183,185,187,189,191,193,195,197,199,201,203,205,207,209,211,213,215,217,219,221,223,225,227,229,231,233,235,237,239,241,243,245,247,249,251,253,255,129,128,131,130,133,132,135,134,137,136,139,138,141,140,143,142,145,144,147,146,149,148,151,150,153,152,155,154,157,156,159,158,161,160,163,162,165,164,167,166,169,168,171,170,173,172,175,174,177,176,179,178,181,180,183,182,185,184,187,186,189,188,191,190,193,192,195,194,197,196,199,198,201,200,203,202,205,204,207,206,209,208,211,210,213,212,215,214,217,216,219,218,221,220,223,222,225,224,227,226,229,228,231,230,233,232,235,234,237,236,239,238,241,240,243,242,245,244,247,246,249,248,251,250,253,252,255,254},{0,8,16,24,32,40,48,56,65,73,81,89,97,105,113,121,130,138,146,154,162,170,178,186,195,203,211,219,227,235,243,251,130,134,138,142,146,150,154,158,162,166,170,174,178,182,186,190,195,199,203,207,211,215,219,223,227,231,235,239,243,247,251,255,130,128,134,132,138,136,142,140,146,144,150,148,154,152,158,156,162,160,166,164,170,168,174,172,178,176,182,180,186,184,190,188,195,193,199,197,203,201,207,205,211,209,215,213,219,217,223,221,227,225,231,229,235,233,239,237,243,241,247,245,251,249,255,253,130,131,128,129,134,135,132,133,138,139,136,137,142,143,140,141,146,147,144,145,150,151,148,149,154,155,152,153,158,159,156,157,162,163,160,161,166,167,164,165,170,171,168,169,174,175,172,173,178,179,176,177,182,183,180,181,186,187,184,185,190,191,188,189,195,194,193,192,199,198,197,196,203,202,201,200,207,206,205,204,211,210,209,208,215,214,213,212,219,218,217,216,223,222,221,220,227,226,225,224,231,230,229,228,235,234,233,232,239,238,237,236,243,242,241,240,247,246,245,244,251,250,249,248,255,254,253,252},{0,8,16,24,32,40,48,56,65,73,81,89,97,105,113,121,131,139,147,155,163,171,179,187,194,202,210,218,226,234,242,250,131,135,139,143,147,151,155,159,163,167,171,175,179,183,187,191,194,198,202,206,210,214,218,222,226,230,234,238,242,246,250,254,131,129,135,133,139,137,143,141,147,145,151,149,155,153,159,157,163,161,167,165,171,169,175,173,179,177,183,181,187,185,191,189,194,192,198,196,202,200,206,204,210,208,214,212,218,216,222,220,226,224,230,228,234,232,238,236,242,240,246,244,250,248,254,252,131,130,129,128,135,134,133,132,139,138,137,136,143,142,141,140,147,146,145,144,151,150,149,148,155,154,153,152,159,158,157,156,163,162,161,160,167,166,165,164,171,170,169,168,175,174,173,172,179,178,177,176,183,182,181,180,187,186,185,184,191,190,189,188,194,195,192,193,198,199,196,197,202,203,200,201,206,207,204,205,210,211,208,209,214,215,212,213,218,219,216,217,222,223,220,221,226,227,224,225,230,231,228,229,234,235,232,233,238,239,236,237,242,243,240,241,246,247,244,245,250,251,248,249,254,255,252,253},{0,8,16,24,33,41,49,57,66,74,82,90,99,107,115,123,132,140,148,156,165,173,181,189,198,206,214,222,231,239,247,255,132,128,140,136,148,144,156,152,165,161,173,169,181,177,189,185,198,194,206,202,214,210,222,218,231,227,239,235,247,243,255,251,132,134,128,130,140,142,136,138,148,150,144,146,156,158,152,154,165,167,161,163,173,175,169,171,181,183,177,179,189,191,185,187,198,196,194,192,206,204,202,200,214,212,210,208,222,220,218,216,231,229,227,225,239,237,235,233,247,245,243,241,255,253,251,249,132,133,134,135,128,129,130,131,140,141,142,143,136,137,138,139,148,149,150,151,144,145,146,147,156,157,158,159,152,153,154,155,165,164,167,166,161,160,163,162,173,172,175,174,169,168,171,170,181,180,183,182,177,176,179,178,189,188,191,190,185,184,187,186,198,199,196,197,194,195,192,193,206,207,204,205,202,203,200,201,214,215,212,213,210,211,208,209,222,223,220,221,218,219,216,217,231,230,229,228,227,226,225,224,239,238,237,236,235,234,233,232,247,246,245,244,243,242,241,240,255,254,253,252,251,250,249,248},{0,8,16,24,33,41,49,57,66,74,82,90,99,107,115,123,133,141,149,157,164,172,180,188,199,207,215,223,230,238,246,254,133,129,141,137,149,145,157,153,164,160,172,168,180,176,188,184,199,195,207,203,215,211,223,219,230,226,238,234,246,242,254,250,133,135,129,131,141,143,137,139,149,151,145,147,157,159,153,155,164,166,160,162,172,174,168,170,180,182,176,178,188,190,184,186,199,197,195,193,207,205,203,201,215,213,211,209,223,221,219,217,230,228,226,224,238,236,234,232,246,244,242,240,254,252,250,248,133,132,135,134,129,128,131,130,141,140,143,142,137,136,139,138,149,148,151,150,145,144,147,146,157,156,159,158,153,152,155,154,164,165,166,167,160,161,162,163,172,173,174,175,168,169,170,171,180,181,182,183,176,177,178,179,188,189,190,191,184,185,186,187,199,198,197,196,195,194,193,192,207,206,205,204,203,202,201,200,215,214,213,212,211,210,209,208,223,222,221,220,219,218,217,216,230,231,228,229,226,227,224,225,238,239,236,237,234,235,232,233,246,247,244,245,242,243,240,241,254,255,252,253,250,251,248,249},{0,8,16,24,33,41,49,57,67,75,83,91,98,106,114,122,134,142,150,158,167,175,183,191,197,205,213,221,228,236,244,252,134,130,142,138,150,146,158,154,167,163,175,171,183,179,191,187,197,193,205,201,213,209,221,217,228,224,236,232,244,240,252,248,134,132,130,128,142,140,138,136,150,148,146,144,158,156,154,152,167,165,163,161,175,173,171,169,183,181,179,177,191,189,187,185,197,199,193,195,205,207,201,203,213,215,209,211,221,223,217,219,228,230,224,226,236,238,232,234,244,246,240,242,252,254,248,250,134,135,132,133,130,131,128,129,142,143,140,141,138,139,136,137,150,151,148,149,146,147,144,145,158,159,156,157,154,155,152,153,167,166,165,164,163,162,161,160,175,174,173,172,171,170,169,168,183,182,181,180,179,178,177,176,191,190,189,188,187,186,185,184,197,196,199,198,193,192,195,194,205,204,207,206,201,200,203,202,213,212,215,214,209,208,211,210,221,220,223,222,217,216,219,218,228,229,230,231,224,225,226,227,236,237,238,239,232,233,234,235,244,245,246,247,240,241,242,243,252,253,254,255,248,249,250,251},{0,8,16,24,33,41,49,57,67,75,83,91,98,106,114,122,135,143,151,159,166,174,182,190,196,204,212,220,229,237,245,253,135,131,143,139,151,147,159,155,166,162,174,170,182,178,190,186,196,192,204,200,212,208,220,216,229,225,237,233,245,241,253,249,135,133,131,129,143,141,139,137,151,149,147,145,159,157,155,153,166,164,162,160,174,172,170,168,182,180,178,176,190,188,186,184,196,198,192,194,204,206,200,202,212,214,208,210,220,222,216,218,229,231,225,227,237,239,233,235,245,247,241,243,253,255,249,251,135,134,133,132,131,130,129,128,143,142,141,140,139,138,137,136,151,150,149,148,147,146,145,144,159,158,157,156,155,154,153,152,166,167,164,165,162,163,160,161,174,175,172,173,170,171,168,169,182,183,180,181,178,179,176,177,190,191,188,189,186,187,184,185,196,197,198,199,192,193,194,195,204,205,206,207,200,201,202,203,212,213,214,215,208,209,210,211,220,221,222,223,216,217,218,219,229,228,231,230,225,224,227,226,237,236,239,238,233,232,235,234,245,244,247,246,241,240,243,242,253,252,255,254,249,248,251,250},{0,8,17,25,34,42,51,59,68,76,85,93,102,110,119,127,136,128,153,145,170,162,187,179,204,196,221,213,238,230,255,247,136,140,128,132,153,157,145,149,170,174,162,166,187,191,179,183,204,200,196,192,221,217,213,209,238,234,230,226,255,251,247,243,136,138,140,142,128,130,132,134,153,155,157,159,145,147,149,151,170,168,174,172,162,160,166,164,187,185,191,189,179,177,183,181,204,206,200,202,196,198,192,194,221,223,217,219,213,215,209,211,238,236,234,232,230,228,226,224,255,253,251,249,247,245,243,241,136,137,138,139,140,141,142,143,128,129,130,131,132,133,134,135,153,152,155,154,157,156,159,158,145,144,147,146,149,148,151,150,170,171,168,169,174,175,172,173,162,163,160,161,166,167,164,165,187,186,185,184,191,190,189,188,179,178,177,176,183,182,181,180,204,205,206,207,200,201,202,203,196,197,198,199,192,193,194,195,221,220,223,222,217,216,219,218,213,212,215,214,209,208,211,210,238,239,236,237,234,235,232,233,230,231,228,229,226,227,224,225,255,254,253,252,251,250,249,248,247,246,245,244,243,242,241,240},{0,8,17,25,34,42,51,59,68,76,85,93,102,110,119,127,137,129,152,144,171,163,186,178,205,197,220,212,239,231,254,246,137,141,129,133,152,156,144,148,171,175,163,167,186,190,178,182,205,201,197,193,220,216,212,208,239,235,231,227,254,250,246,242,137,139,141,143,129,131,133,135,152,154,156,158,144,146,148,150,171,169,175,173,163,161,167,165,186,184,190,188,178,176,182,180,205,207,201,203,197,199,193,195,220,222,216,218,212,214,208,210,239,237,235,233,231,229,227,225,254,252,250,248,246,244,242,240,137,136,139,138,141,140,143,142,129,128,131,130,133,132,135,134,152,153,154,155,156,157,158,159,144,145,146,147,148,149,150,151,171,170,169,168,175,174,173,172,163,162,161,160,167,166,165,164,186,187,184,185,190,191,188,189,178,179,176,177,182,183,180,181,205,204,207,206,201,200,203,202,197,196,199,198,193,192,195,194,220,221,222,223,216,217,218,219,212,213,214,215,208,209,210,211,239,238,237,236,235,234,233,232,231,230,229,228,227,226,225,224,254,255,252,253,250,251,248,249,246,247,244,245,242,243,240,241},{0,8,17,25,34,42,51,59,69,77,84,92,103,111,118,126,138,130,155,147,168,160,185,177,207,199,222,214,237,229,252,244,138,142,130,134,155,159,147,151,168,172,160,164,185,189,177,181,207,203,199,195,222,218,214,210,237,233,229,225,252,248,244,240,138,136,142,140,130,128,134,132,155,153,159,157,147,145,151,149,168,170,172,174,160,162,164,166,185,187,189,191,177,179,181,183,207,205,203,201,199,197,195,193,222,220,218,216,214,212,210,208,237,239,233,235,229,231,225,227,252,254,248,250,244,246,240,242,138,139,136,137,142,143,140,141,130,131,128,129,134,135,132,133,155,154,153,152,159,158,157,156,147,146,145,144,151,150,149,148,168,169,170,171,172,173,174,175,160,161,162,163,164,165,166,167,185,184,187,186,189,188,191,190,177,176,179,178,181,180,183,182,207,206,205,204,203,202,201,200,199,198,197,196,195,194,193,192,222,223,220,221,218,219,216,217,214,215,212,213,210,211,208,209,237,236,239,238,233,232,235,234,229,228,231,230,225,224,227,226,252,253,254,255,248,249,250,251,244,245,246,247,240,241,242,243},{0,8,17,25,34,42,51,59,69,77,84,92,103,111,118,126,139,131,154,146,169,161,184,176,206,198,223,215,236,228,253,245,139,143,131,135,154,158,146,150,169,173,161,165,184,188,176,180,206,202,198,194,223,219,215,211,236,232,228,224,253,249,245,241,139,137,143,141,131,129,135,133,154,152,158,156,146,144,150,148,169,171,173,175,161,163,165,167,184,186,188,190,176,178,180,182,206,204,202,200,198,196,194,192,223,221,219,217,215,213,211,209,236,238,232,234,228,230,224,226,253,255,249,251,245,247,241,243,139,138,137,136,143,142,141,140,131,130,129,128,135,134,133,132,154,155,152,153,158,159,156,157,146,147,144,145,150,151,148,149,169,168,171,170,173,172,175,174,161,160,163,162,165,164,167,166,184,185,186,187,188,189,190,191,176,177,178,179,180,181,182,183,206,207,204,205,202,203,200,201,198,199,196,197,194,195,192,193,223,222,221,220,219,218,217,216,215,214,213,212,211,210,209,208,236,237,238,239,232,233,234,235,228,229,230,231,224,225,226,227,253,252,255,254,249,248,251,250,245,244,247,246,241,240,243,242},{0,8,17,25,35,43,50,58,70,78,87,95,101,109,116,124,140,132,157,149,175,167,190,182,202,194,219,211,233,225,248,240,140,136,132,128,157,153,149,145,175,171,167,163,190,186,182,178,202,206,194,198,219,223,211,215,233,237,225,229,248,252,240,244,140,142,136,138,132,134,128,130,157,159,153,155,149,151,145,147,175,173,171,169,167,165,163,161,190,188,186,184,182,180,178,176,202,200,206,204,194,192,198,196,219,217,223,221,211,209,215,213,233,235,237,239,225,227,229,231,248,250,252,254,240,242,244,246,140,141,142,143,136,137,138,139,132,133,134,135,128,129,130,131,157,156,159,158,153,152,155,154,149,148,151,150,145,144,147,146,175,174,173,172,171,170,169,168,167,166,165,164,163,162,161,160,190,191,188,189,186,187,184,185,182,183,180,181,178,179,176,177,202,203,200,201,206,207,204,205,194,195,192,193,198,199,196,197,219,218,217,216,223,222,221,220,211,210,209,208,215,214,213,212,233,232,235,234,237,236,239,238,225,224,227,226,229,228,231,230,248,249,250,251,252,253,254,255,240,241,242,243,244,245,246,247},{0,8,17,25,35,43,50,58,70,78,87,95,101,109,116,124,141,133,156,148,174,166,191,183,203,195,218,210,232,224,249,241,141,137,133,129,156,152,148,144,174,170,166,162,191,187,183,179,203,207,195,199,218,222,210,214,232,236,224,228,249,253,241,245,141,143,137,139,133,135,129,131,156,158,152,154,148,150,144,146,174,172,170,168,166,164,162,160,191,189,187,185,183,181,179,177,203,201,207,205,195,193,199,197,218,216,222,220,210,208,214,212,232,234,236,238,224,226,228,230,249,251,253,255,241,243,245,247,141,140,143,142,137,136,139,138,133,132,135,134,129,128,131,130,156,157,158,159,152,153,154,155,148,149,150,151,144,145,146,147,174,175,172,173,170,171,168,169,166,167,164,165,162,163,160,161,191,190,189,188,187,186,185,184,183,182,181,180,179,178,177,176,203,202,201,200,207,206,205,204,195,194,193,192,199,198,197,196,218,219,216,217,222,223,220,221,210,211,208,209,214,215,212,213,232,233,234,235,236,237,238,239,224,225,226,227,228,229,230,231,249,248,251,250,253,252,255,254,241,240,243,242,245,244,247,246},{0,8,17,25,35,43,50,58,71,79,86,94,100,108,117,125,142,134,159,151,173,165,188,180,201,193,216,208,234,226,251,243,142,138,134,130,159,155,151,147,173,169,165,161,188,184,180,176,201,205,193,197,216,220,208,212,234,238,226,230,251,255,243,247,142,140,138,136,134,132,130,128,159,157,155,153,151,149,147,145,173,175,169,171,165,167,161,163,188,190,184,186,180,182,176,178,201,203,205,207,193,195,197,199,216,218,220,222,208,210,212,214,234,232,238,236,226,224,230,228,251,249,255,253,243,241,247,245,142,143,140,141,138,139,136,137,134,135,132,133,130,131,128,129,159,158,157,156,155,154,153,152,151,150,149,148,147,146,145,144,173,172,175,174,169,168,171,170,165,164,167,166,161,160,163,162,188,189,190,191,184,185,186,187,180,181,182,183,176,177,178,179,201,200,203,202,205,204,207,206,193,192,195,194,197,196,199,198,216,217,218,219,220,221,222,223,208,209,210,211,212,213,214,215,234,235,232,233,238,239,236,237,226,227,224,225,230,231,228,229,251,250,249,248,255,254,253,252,243,242,241,240,247,246,245,244},{0,8,17,25,35,43,50,58,71,79,86,94,100,108,117,125,143,135,158,150,172,164,189,181,200,192,217,209,235,227,250,242,143,139,135,131,158,154,150,146,172,168,164,160,189,185,181,177,200,204,192,196,217,221,209,213,235,239,227,231,250,254,242,246,143,141,139,137,135,133,131,129,158,156,154,152,150,148,146,144,172,174,168,170,164,166,160,162,189,191,185,187,181,183,177,179,200,202,204,206,192,194,196,198,217,219,221,223,209,211,213,215,235,233,239,237,227,225,231,229,250,248,254,252,242,240,246,244,143,142,141,140,139,138,137,136,135,134,133,132,131,130,129,128,158,159,156,157,154,155,152,153,150,151,148,149,146,147,144,145,172,173,174,175,168,169,170,171,164,165,166,167,160,161,162,163,189,188,191,190,185,184,187,186,181,180,183,182,177,176,179,178,200,201,202,203,204,205,206,207,192,193,194,195,196,197,198,199,217,216,219,218,221,220,223,222,209,208,211,210,213,212,215,214,235,234,233,232,239,238,237,236,227,226,225,224,231,230,229,228,250,251,248,249,254,255,252,253,242,243,240,241,246,247,244,245},{0,9,18,27,36,45,54,63,73,64,91,82,109,100,127,118,146,155,128,137,182,191,164,173,219,210,201,192,255,246,237,228,146,150,155,159,128,132,137,141,182,178,191,187,164,160,173,169,219,223,210,214,201,205,192,196,255,251,246,242,237,233,228,224,146,144,150,148,155,153,159,157,128,130,132,134,137,139,141,143,182,180,178,176,191,189,187,185,164,166,160,162,173,175,169,171,219,217,223,221,210,208,214,212,201,203,205,207,192,194,196,198,255,253,251,249,246,244,242,240,237,239,233,235,228,230,224,226,146,147,144,145,150,151,148,149,155,154,153,152,159,158,157,156,128,129,130,131,132,133,134,135,137,136,139,138,141,140,143,142,182,183,180,181,178,179,176,177,191,190,189,188,187,186,185,184,164,165,166,167,160,161,162,163,173,172,175,174,169,168,171,170,219,218,217,216,223,222,221,220,210,211,208,209,214,215,212,213,201,200,203,202,205,204,207,206,192,193,194,195,196,197,198,199,255,254,253,252,251,250,249,248,246,247,244,245,242,243,240,241,237,236,239,238,233,232,235,234,228,229,230,231,224,225,226,227},{0,9,18,27,36,45,54,63,73,64,91,82,109,100,127,118,147,154,129,136,183,190,165,172,218,211,200,193,254,247,236,229,147,151,154,158,129,133,136,140,183,179,190,186,165,161,172,168,218,222,211,215,200,204,193,197,254,250,247,243,236,232,229,225,147,145,151,149,154,152,158,156,129,131,133,135,136,138,140,142,183,181,179,177,190,188,186,184,165,167,161,163,172,174,168,170,218,216,222,220,211,209,215,213,200,202,204,206,193,195,197,199,254,252,250,248,247,245,243,241,236,238,232,234,229,231,225,227,147,146,145,144,151,150,149,148,154,155,152,153,158,159,156,157,129,128,131,130,133,132,135,134,136,137,138,139,140,141,142,143,183,182,181,180,179,178,177,176,190,191,188,189,186,187,184,185,165,164,167,166,161,160,163,162,172,173,174,175,168,169,170,171,218,219,216,217,222,223,220,221,211,210,209,208,215,214,213,212,200,201,202,203,204,205,206,207,193,192,195,194,197,196,199,198,254,255,252,253,250,251,248,249,247,246,245,244,243,242,241,240,236,237,238,239,232,233,234,235,229,228,231,230,225,224,227,226},{0,9,18,27,36,45,54,63,72,65,90,83,108,101,126,119,144,153,130,139,180,189,166,175,216,209,202,195,252,245,238,231,144,148,153,157,130,134,139,143,180,176,189,185,166,162,175,171,216,220,209,213,202,206,195,199,252,248,245,241,238,234,231,227,144,146,148,150,153,155,157,159,130,128,134,132,139,137,143,141,180,182,176,178,189,191,185,187,166,164,162,160,175,173,171,169,216,218,220,222,209,211,213,215,202,200,206,204,195,193,199,197,252,254,248,250,245,247,241,243,238,236,234,232,231,229,227,225,144,145,146,147,148,149,150,151,153,152,155,154,157,156,159,158,130,131,128,129,134,135,132,133,139,138,137,136,143,142,141,140,180,181,182,183,176,177,178,179,189,188,191,190,185,184,187,186,166,167,164,165,162,163,160,161,175,174,173,172,171,170,169,168,216,217,218,219,220,221,222,223,209,208,211,210,213,212,215,214,202,203,200,201,206,207,204,205,195,194,193,192,199,198,197,196,252,253,254,255,248,249,250,251,245,244,247,246,241,240,243,242,238,239,236,237,234,235,232,233,231,230,229,228,227,226,225,224},{0,9,18,27,36,45,54,63,72,65,90,83,108,101,126,119,145,152,131,138,181,188,167,174,217,208,203,194,253,244,239,230,145,149,152,156,131,135,138,142,181,177,188,184,167,163,174,170,217,221,208,212,203,207,194,198,253,249,244,240,239,235,230,226,145,147,149,151,152,154,156,158,131,129,135,133,138,136,142,140,181,183,177,179,188,190,184,186,167,165,163,161,174,172,170,168,217,219,221,223,208,210,212,214,203,201,207,205,194,192,198,196,253,255,249,251,244,246,240,242,239,237,235,233,230,228,226,224,145,144,147,146,149,148,151,150,152,153,154,155,156,157,158,159,131,130,129,128,135,134,133,132,138,139,136,137,142,143,140,141,181,180,183,182,177,176,179,178,188,189,190,191,184,185,186,187,167,166,165,164,163,162,161,160,174,175,172,173,170,171,168,169,217,216,219,218,221,220,223,222,208,209,210,211,212,213,214,215,203,202,201,200,207,206,205,204,194,195,192,193,198,199,196,197,253,252,255,254,249,248,251,250,244,245,246,247,240,241,242,243,239,238,237,236,235,234,233,232,230,231,228,229,226,227,224,225},{0,9,18,27,37,44,55,62,75,66,89,80,110,103,124,117,150,159,132,141,179,186,161,168,221,212,207,198,248,241,234,227,150,146,159,155,132,128,141,137,179,183,186,190,161,165,168,172,221,217,212,208,207,203,198,194,248,252,241,245,234,238,227,231,150,148,146,144,159,157,155,153,132,134,128,130,141,143,137,139,179,177,183,181,186,184,190,188,161,163,165,167,168,170,172,174,221,223,217,219,212,214,208,210,207,205,203,201,198,196,194,192,248,250,252,254,241,243,245,247,234,232,238,236,227,225,231,229,150,151,148,149,146,147,144,145,159,158,157,156,155,154,153,152,132,133,134,135,128,129,130,131,141,140,143,142,137,136,139,138,179,178,177,176,183,182,181,180,186,187,184,185,190,191,188,189,161,160,163,162,165,164,167,166,168,169,170,171,172,173,174,175,221,220,223,222,217,216,219,218,212,213,214,215,208,209,210,211,207,206,205,204,203,202,201,200,198,199,196,197,194,195,192,193,248,249,250,251,252,253,254,255,241,240,243,242,245,244,247,246,234,235,232,233,238,239,236,237,227,226,225,224,231,230,229,228},{0,9,18,27,37,44,55,62,75,66,89,80,110,103,124,117,151,158,133,140,178,187,160,169,220,213,206,199,249,240,235,226,151,147,158,154,133,129,140,136,178,182,187,191,160,164,169,173,220,216,213,209,206,202,199,195,249,253,240,244,235,239,226,230,151,149,147,145,158,156,154,152,133,135,129,131,140,142,136,138,178,176,182,180,187,185,191,189,160,162,164,166,169,171,173,175,220,222,216,218,213,215,209,211,206,204,202,200,199,197,195,193,249,251,253,255,240,242,244,246,235,233,239,237,226,224,230,228,151,150,149,148,147,146,145,144,158,159,156,157,154,155,152,153,133,132,135,134,129,128,131,130,140,141,142,143,136,137,138,139,178,179,176,177,182,183,180,181,187,186,185,184,191,190,189,188,160,161,162,163,164,165,166,167,169,168,171,170,173,172,175,174,220,221,222,223,216,217,218,219,213,212,215,214,209,208,211,210,206,207,204,205,202,203,200,201,199,198,197,196,195,194,193,192,249,248,251,250,253,252,255,254,240,241,242,243,244,245,246,247,235,234,233,232,239,238,237,236,226,227,224,225,230,231,228,229},{0,9,18,27,37,44,55,62,74,67,88,81,111,102,125,116,148,157,134,143,177,184,163,170,222,215,204,197,251,242,233,224,148,144,157,153,134,130,143,139,177,181,184,188,163,167,170,174,222,218,215,211,204,200,197,193,251,255,242,246,233,237,224,228,148,150,144,146,157,159,153,155,134,132,130,128,143,141,139,137,177,179,181,183,184,186,188,190,163,161,167,165,170,168,174,172,222,220,218,216,215,213,211,209,204,206,200,202,197,199,193,195,251,249,255,253,242,240,246,244,233,235,237,239,224,226,228,230,148,149,150,151,144,145,146,147,157,156,159,158,153,152,155,154,134,135,132,133,130,131,128,129,143,142,141,140,139,138,137,136,177,176,179,178,181,180,183,182,184,185,186,187,188,189,190,191,163,162,161,160,167,166,165,164,170,171,168,169,174,175,172,173,222,223,220,221,218,219,216,217,215,214,213,212,211,210,209,208,204,205,206,207,200,201,202,203,197,196,199,198,193,192,195,194,251,250,249,248,255,254,253,252,242,243,240,241,246,247,244,245,233,232,235,234,237,236,239,238,224,225,226,227,228,229,230,231},{0,9,18,27,37,44,55,62,74,67,88,81,111,102,125,116,149,156,135,142,176,185,162,171,223,214,205,196,250,243,232,225,149,145,156,152,135,131,142,138,176,180,185,189,162,166,171,175,223,219,214,210,205,201,196,192,250,254,243,247,232,236,225,229,149,151,145,147,156,158,152,154,135,133,131,129,142,140,138,136,176,178,180,182,185,187,189,191,162,160,166,164,171,169,175,173,223,221,219,217,214,212,210,208,205,207,201,203,196,198,192,194,250,248,254,252,243,241,247,245,232,234,236,238,225,227,229,231,149,148,151,150,145,144,147,146,156,157,158,159,152,153,154,155,135,134,133,132,131,130,129,128,142,143,140,141,138,139,136,137,176,177,178,179,180,181,182,183,185,184,187,186,189,188,191,190,162,163,160,161,166,167,164,165,171,170,169,168,175,174,173,172,223,222,221,220,219,218,217,216,214,215,212,213,210,211,208,209,205,204,207,206,201,200,203,202,196,197,198,199,192,193,194,195,250,251,248,249,254,255,252,253,243,242,241,240,247,246,245,244,232,233,234,235,236,237,238,239,225,224,227,226,229,228,231,230},{0,9,19,26,38,47,53,60,77,68,94,87,107,98,120,113,154,147,137,128,188,181,175,166,215,222,196,205,241,248,226,235,154,158,147,151,137,141,128,132,188,184,181,177,175,171,166,162,215,211,222,218,196,192,205,201,241,245,248,252,226,230,235,239,154,152,158,156,147,145,151,149,137,139,141,143,128,130,132,134,188,190,184,186,181,183,177,179,175,173,171,169,166,164,162,160,215,213,211,209,222,220,218,216,196,198,192,194,205,207,201,203,241,243,245,247,248,250,252,254,226,224,230,228,235,233,239,237,154,155,152,153,158,159,156,157,147,146,145,144,151,150,149,148,137,136,139,138,141,140,143,142,128,129,130,131,132,133,134,135,188,189,190,191,184,185,186,187,181,180,183,182,177,176,179,178,175,174,173,172,171,170,169,168,166,167,164,165,162,163,160,161,215,214,213,212,211,210,209,208,222,223,220,221,218,219,216,217,196,197,198,199,192,193,194,195,205,204,207,206,201,200,203,202,241,240,243,242,245,244,247,246,248,249,250,251,252,253,254,255,226,227,224,225,230,231,228,229,235,234,233,232,239,238,237,236},{0,9,19,26,38,47,53,60,77,68,94,87,107,98,120,113,155,146,136,129,189,180,174,167,214,223,197,204,240,249,227,234,155,159,146,150,136,140,129,133,189,185,180,176,174,170,167,163,214,210,223,219,197,193,204,200,240,244,249,253,227,231,234,238,155,153,159,157,146,144,150,148,136,138,140,142,129,131,133,135,189,191,185,187,180,182,176,178,174,172,170,168,167,165,163,161,214,212,210,208,223,221,219,217,197,199,193,195,204,206,200,202,240,242,244,246,249,251,253,255,227,225,231,229,234,232,238,236,155,154,153,152,159,158,157,156,146,147,144,145,150,151,148,149,136,137,138,139,140,141,142,143,129,128,131,130,133,132,135,134,189,188,191,190,185,184,187,186,180,181,182,183,176,177,178,179,174,175,172,173,170,171,168,169,167,166,165,164,163,162,161,160,214,215,212,213,210,211,208,209,223,222,221,220,219,218,217,216,197,196,199,198,193,192,195,194,204,205,206,207,200,201,202,203,240,241,242,243,244,245,246,247,249,248,251,250,253,252,255,254,227,226,225,224,231,230,229,228,234,235,232,233,238,239,236,237},{0,9,19,26,38,47,53,60,76,69,95,86,106,99,121,112,152,145,139,130,190,183,173,164,212,221,199,206,242,251,225,232,152,156,145,149,139,143,130,134,190,186,183,179,173,169,164,160,212,208,221,217,199,195,206,202,242,246,251,255,225,229,232,236,152,154,156,158,145,147,149,151,139,137,143,141,130,128,134,132,190,188,186,184,183,181,179,177,173,175,169,171,164,166,160,162,212,214,208,210,221,223,217,219,199,197,195,193,206,204,202,200,242,240,246,244,251,249,255,253,225,227,229,231,232,234,236,238,152,153,154,155,156,157,158,159,145,144,147,146,149,148,151,150,139,138,137,136,143,142,141,140,130,131,128,129,134,135,132,133,190,191,188,189,186,187,184,185,183,182,181,180,179,178,177,176,173,172,175,174,169,168,171,170,164,165,166,167,160,161,162,163,212,213,214,215,208,209,210,211,221,220,223,222,217,216,219,218,199,198,197,196,195,194,193,192,206,207,204,205,202,203,200,201,242,243,240,241,246,247,244,245,251,250,249,248,255,254,253,252,225,224,227,226,229,228,231,230,232,233,234,235,236,237,238,239},{0,9,19,26,38,47,53,60,76,69,95,86,106,99,121,112,153,144,138,131,191,182,172,165,213,220,198,207,243,250,224,233,153,157,144,148,138,142,131,135,191,187,182,178,172,168,165,161,213,209,220,216,198,194,207,203,243,247,250,254,224,228,233,237,153,155,157,159,144,146,148,150,138,136,142,140,131,129,135,133,191,189,187,185,182,180,178,176,172,174,168,170,165,167,161,163,213,215,209,211,220,222,216,218,198,196,194,192,207,205,203,201,243,241,247,245,250,248,254,252,224,226,228,230,233,235,237,239,153,152,155,154,157,156,159,158,144,145,146,147,148,149,150,151,138,139,136,137,142,143,140,141,131,130,129,128,135,134,133,132,191,190,189,188,187,186,185,184,182,183,180,181,178,179,176,177,172,173,174,175,168,169,170,171,165,164,167,166,161,160,163,162,213,212,215,214,209,208,211,210,220,221,222,223,216,217,218,219,198,199,196,197,194,195,192,193,207,206,205,204,203,202,201,200,243,242,241,240,247,246,245,244,250,251,248,249,254,255,252,253,224,225,226,227,228,229,230,231,233,232,235,234,237,236,239,238},{0,9,19,26,39,46,52,61,79,70,92,85,104,97,123,114,158,151,141,132,185,176,170,163,209,216,194,203,246,255,229,236,158,154,151,147,141,137,132,128,185,189,176,180,170,174,163,167,209,213,216,220,194,198,203,207,246,242,255,251,229,225,236,232,158,156,154,152,151,149,147,145,141,143,137,139,132,134,128,130,185,187,189,191,176,178,180,182,170,168,174,172,163,161,167,165,209,211,213,215,216,218,220,222,194,192,198,196,203,201,207,205,246,244,242,240,255,253,251,249,229,231,225,227,236,238,232,234,158,159,156,157,154,155,152,153,151,150,149,148,147,146,145,144,141,140,143,142,137,136,139,138,132,133,134,135,128,129,130,131,185,184,187,186,189,188,191,190,176,177,178,179,180,181,182,183,170,171,168,169,174,175,172,173,163,162,161,160,167,166,165,164,209,208,211,210,213,212,215,214,216,217,218,219,220,221,222,223,194,195,192,193,198,199,196,197,203,202,201,200,207,206,205,204,246,247,244,245,242,243,240,241,255,254,253,252,251,250,249,248,229,228,231,230,225,224,227,226,236,237,238,239,232,233,234,235},{0,9,19,26,39,46,52,61,79,70,92,85,104,97,123,114,159,150,140,133,184,177,171,162,208,217,195,202,247,254,228,237,159,155,150,146,140,136,133,129,184,188,177,181,171,175,162,166,208,212,217,221,195,199,202,206,247,243,254,250,228,224,237,233,159,157,155,153,150,148,146,144,140,142,136,138,133,135,129,131,184,186,188,190,177,179,181,183,171,169,175,173,162,160,166,164,208,210,212,214,217,219,221,223,195,193,199,197,202,200,206,204,247,245,243,241,254,252,250,248,228,230,224,226,237,239,233,235,159,158,157,156,155,154,153,152,150,151,148,149,146,147,144,145,140,141,142,143,136,137,138,139,133,132,135,134,129,128,131,130,184,185,186,187,188,189,190,191,177,176,179,178,181,180,183,182,171,170,169,168,175,174,173,172,162,163,160,161,166,167,164,165,208,209,210,211,212,213,214,215,217,216,219,218,221,220,223,222,195,194,193,192,199,198,197,196,202,203,200,201,206,207,204,205,247,246,245,244,243,242,241,240,254,255,252,253,250,251,248,249,228,229,230,231,224,225,226,227,237,236,239,238,233,232,235,234},{0,9,19,26,39,46,52,61,78,71,93,84,105,96,122,115,156,149,143,134,187,178,168,161,210,219,193,200,245,252,230,239,156,152,149,145,143,139,134,130,187,191,178,182,168,172,161,165,210,214,219,223,193,197,200,204,245,241,252,248,230,226,239,235,156,158,152,154,149,151,145,147,143,141,139,137,134,132,130,128,187,185,191,189,178,176,182,180,168,170,172,174,161,163,165,167,210,208,214,212,219,217,223,221,193,195,197,199,200,202,204,206,245,247,241,243,252,254,248,250,230,228,226,224,239,237,235,233,156,157,158,159,152,153,154,155,149,148,151,150,145,144,147,146,143,142,141,140,139,138,137,136,134,135,132,133,130,131,128,129,187,186,185,184,191,190,189,188,178,179,176,177,182,183,180,181,168,169,170,171,172,173,174,175,161,160,163,162,165,164,167,166,210,211,208,209,214,215,212,213,219,218,217,216,223,222,221,220,193,192,195,194,197,196,199,198,200,201,202,203,204,205,206,207,245,244,247,246,241,240,243,242,252,253,254,255,248,249,250,251,230,231,228,229,226,227,224,225,239,238,237,236,235,234,233,232},{0,9,19,26,39,46,52,61,78,71,93,84,105,96,122,115,157,148,142,135,186,179,169,160,211,218,192,201,244,253,231,238,157,153,148,144,142,138,135,131,186,190,179,183,169,173,160,164,211,215,218,222,192,196,201,205,244,240,253,249,231,227,238,234,157,159,153,155,148,150,144,146,142,140,138,136,135,133,131,129,186,184,190,188,179,177,183,181,169,171,173,175,160,162,164,166,211,209,215,213,218,216,222,220,192,194,196,198,201,203,205,207,244,246,240,242,253,255,249,251,231,229,227,225,238,236,234,232,157,156,159,158,153,152,155,154,148,149,150,151,144,145,146,147,142,143,140,141,138,139,136,137,135,134,133,132,131,130,129,128,186,187,184,185,190,191,188,189,179,178,177,176,183,182,181,180,169,168,171,170,173,172,175,174,160,161,162,163,164,165,166,167,211,210,209,208,215,214,213,212,218,219,216,217,222,223,220,221,192,193,194,195,196,197,198,199,201,200,203,202,205,204,207,206,244,245,246,247,240,241,242,243,253,252,255,254,249,248,251,250,231,230,229,228,227,226,225,224,238,239,236,237,234,235,232,233},{0,10,21,31,42,32,63,53,85,95,64,74,127,117,106,96,170,160,191,181,128,138,149,159,255,245,234,224,213,223,192,202,170,175,160,165,191,186,181,176,128,133,138,143,149,144,159,154,255,250,245,240,234,239,224,229,213,208,223,218,192,197,202,207,170,168,175,173,160,162,165,167,191,189,186,184,181,183,176,178,128,130,133,135,138,136,143,141,149,151,144,146,159,157,154,152,255,253,250,248,245,247,240,242,234,232,239,237,224,226,229,231,213,215,208,210,223,221,218,216,192,194,197,199,202,200,207,205,170,171,168,169,175,174,173,172,160,161,162,163,165,164,167,166,191,190,189,188,186,187,184,185,181,180,183,182,176,177,178,179,128,129,130,131,133,132,135,134,138,139,136,137,143,142,141,140,149,148,151,150,144,145,146,147,159,158,157,156,154,155,152,153,255,254,253,252,250,251,248,249,245,244,247,246,240,241,242,243,234,235,232,233,239,238,237,236,224,225,226,227,229,228,231,230,213,212,215,214,208,209,210,211,223,222,221,220,218,219,216,217,192,193,194,195,197,196,199,198,202,203,200,201,207,206,205,204},{0,10,21,31,42,32,63,53,85,95,64,74,127,117,106,96,171,161,190,180,129,139,148,158,254,244,235,225,212,222,193,203,171,174,161,164,190,187,180,177,129,132,139,142,148,145,158,155,254,251,244,241,235,238,225,228,212,209,222,219,193,196,203,206,171,169,174,172,161,163,164,166,190,188,187,185,180,182,177,179,129,131,132,134,139,137,142,140,148,150,145,147,158,156,155,153,254,252,251,249,244,246,241,243,235,233,238,236,225,227,228,230,212,214,209,211,222,220,219,217,193,195,196,198,203,201,206,204,171,170,169,168,174,175,172,173,161,160,163,162,164,165,166,167,190,191,188,189,187,186,185,184,180,181,182,183,177,176,179,178,129,128,131,130,132,133,134,135,139,138,137,136,142,143,140,141,148,149,150,151,145,144,147,146,158,159,156,157,155,154,153,152,254,255,252,253,251,250,249,248,244,245,246,247,241,240,243,242,235,234,233,232,238,239,236,237,225,224,227,226,228,229,230,231,212,213,214,215,209,208,211,210,222,223,220,221,219,218,217,216,193,192,195,194,196,197,198,199,203,202,201,200,206,207,204,205},{0,10,21,31,42,32,63,53,84,94,65,75,126,116,107,97,168,162,189,183,130,136,151,157,252,246,233,227,214,220,195,201,168,173,162,167,189,184,183,178,130,135,136,141,151,146,157,152,252,249,246,243,233,236,227,230,214,211,220,217,195,198,201,204,168,170,173,175,162,160,167,165,189,191,184,186,183,181,178,176,130,128,135,133,136,138,141,143,151,149,146,144,157,159,152,154,252,254,249,251,246,244,243,241,233,235,236,238,227,225,230,228,214,212,211,209,220,222,217,219,195,193,198,196,201,203,204,206,168,169,170,171,173,172,175,174,162,163,160,161,167,166,165,164,189,188,191,190,184,185,186,187,183,182,181,180,178,179,176,177,130,131,128,129,135,134,133,132,136,137,138,139,141,140,143,142,151,150,149,148,146,147,144,145,157,156,159,158,152,153,154,155,252,253,254,255,249,248,251,250,246,247,244,245,243,242,241,240,233,232,235,234,236,237,238,239,227,226,225,224,230,231,228,229,214,215,212,213,211,210,209,208,220,221,222,223,217,216,219,218,195,194,193,192,198,199,196,197,201,200,203,202,204,205,206,207},{0,10,21,31,42,32,63,53,84,94,65,75,126,116,107,97,169,163,188,182,131,137,150,156,253,247,232,226,215,221,194,200,169,172,163,166,188,185,182,179,131,134,137,140,150,147,156,153,253,248,247,242,232,237,226,231,215,210,221,216,194,199,200,205,169,171,172,174,163,161,166,164,188,190,185,187,182,180,179,177,131,129,134,132,137,139,140,142,150,148,147,145,156,158,153,155,253,255,248,250,247,245,242,240,232,234,237,239,226,224,231,229,215,213,210,208,221,223,216,218,194,192,199,197,200,202,205,207,169,168,171,170,172,173,174,175,163,162,161,160,166,167,164,165,188,189,190,191,185,184,187,186,182,183,180,181,179,178,177,176,131,130,129,128,134,135,132,133,137,136,139,138,140,141,142,143,150,151,148,149,147,146,145,144,156,157,158,159,153,152,155,154,253,252,255,254,248,249,250,251,247,246,245,244,242,243,240,241,232,233,234,235,237,236,239,238,226,227,224,225,231,230,229,228,215,214,213,212,210,211,208,209,221,220,223,222,216,217,218,219,194,195,192,193,199,198,197,196,200,201,202,203,205,204,207,206},{0,10,21,31,43,33,62,52,87,93,66,72,124,118,105,99,174,164,187,177,133,143,144,154,249,243,236,230,210,216,199,205,174,171,164,161,187,190,177,180,133,128,143,138,144,149,154,159,249,252,243,246,236,233,230,227,210,215,216,221,199,194,205,200,174,172,171,169,164,166,161,163,187,185,190,188,177,179,180,182,133,135,128,130,143,141,138,136,144,146,149,151,154,152,159,157,249,251,252,254,243,241,246,244,236,238,233,235,230,228,227,225,210,208,215,213,216,218,221,223,199,197,194,192,205,207,200,202,174,175,172,173,171,170,169,168,164,165,166,167,161,160,163,162,187,186,185,184,190,191,188,189,177,176,179,178,180,181,182,183,133,132,135,134,128,129,130,131,143,142,141,140,138,139,136,137,144,145,146,147,149,148,151,150,154,155,152,153,159,158,157,156,249,248,251,250,252,253,254,255,243,242,241,240,246,247,244,245,236,237,238,239,233,232,235,234,230,231,228,229,227,226,225,224,210,211,208,209,215,214,213,212,216,217,218,219,221,220,223,222,199,198,197,196,194,195,192,193,205,204,207,206,200,201,202,203},{0,10,21,31,43,33,62,52,87,93,66,72,124,118,105,99,175,165,186,176,132,142,145,155,248,242,237,231,211,217,198,204,175,170,165,160,186,191,176,181,132,129,142,139,145,148,155,158,248,253,242,247,237,232,231,226,211,214,217,220,198,195,204,201,175,173,170,168,165,167,160,162,186,184,191,189,176,178,181,183,132,134,129,131,142,140,139,137,145,147,148,150,155,153,158,156,248,250,253,255,242,240,247,245,237,239,232,234,231,229,226,224,211,209,214,212,217,219,220,222,198,196,195,193,204,206,201,203,175,174,173,172,170,171,168,169,165,164,167,166,160,161,162,163,186,187,184,185,191,190,189,188,176,177,178,179,181,180,183,182,132,133,134,135,129,128,131,130,142,143,140,141,139,138,137,136,145,144,147,146,148,149,150,151,155,154,153,152,158,159,156,157,248,249,250,251,253,252,255,254,242,243,240,241,247,246,245,244,237,236,239,238,232,233,234,235,231,230,229,228,226,227,224,225,211,210,209,208,214,215,212,213,217,216,219,218,220,221,222,223,198,199,196,197,195,194,193,192,204,205,206,207,201,200,203,202},{0,10,21,31,43,33,62,52,86,92,67,73,125,119,104,98,172,166,185,179,135,141,146,152,250,240,239,229,209,219,196,206,172,169,166,163,185,188,179,182,135,130,141,136,146,151,152,157,250,255,240,245,239,234,229,224,209,212,219,222,196,193,206,203,172,174,169,171,166,164,163,161,185,187,188,190,179,177,182,180,135,133,130,128,141,143,136,138,146,144,151,149,152,154,157,159,250,248,255,253,240,242,245,247,239,237,234,232,229,231,224,226,209,211,212,214,219,217,222,220,196,198,193,195,206,204,203,201,172,173,174,175,169,168,171,170,166,167,164,165,163,162,161,160,185,184,187,186,188,189,190,191,179,178,177,176,182,183,180,181,135,134,133,132,130,131,128,129,141,140,143,142,136,137,138,139,146,147,144,145,151,150,149,148,152,153,154,155,157,156,159,158,250,251,248,249,255,254,253,252,240,241,242,243,245,244,247,246,239,238,237,236,234,235,232,233,229,228,231,230,224,225,226,227,209,208,211,210,212,213,214,215,219,218,217,216,222,223,220,221,196,197,198,199,193,192,195,194,206,207,204,205,203,202,201,200},{0,10,21,31,43,33,62,52,86,92,67,73,125,119,104,98,173,167,184,178,134,140,147,153,251,241,238,228,208,218,197,207,173,168,167,162,184,189,178,183,134,131,140,137,147,150,153,156,251,254,241,244,238,235,228,225,208,213,218,223,197,192,207,202,173,175,168,170,167,165,162,160,184,186,189,191,178,176,183,181,134,132,131,129,140,142,137,139,147,145,150,148,153,155,156,158,251,249,254,252,241,243,244,246,238,236,235,233,228,230,225,227,208,210,213,215,218,216,223,221,197,199,192,194,207,205,202,200,173,172,175,174,168,169,170,171,167,166,165,164,162,163,160,161,184,185,186,187,189,188,191,190,178,179,176,177,183,182,181,180,134,135,132,133,131,130,129,128,140,141,142,143,137,136,139,138,147,146,145,144,150,151,148,149,153,152,155,154,156,157,158,159,251,250,249,248,254,255,252,253,241,240,243,242,244,245,246,247,238,239,236,237,235,234,233,232,228,229,230,231,225,224,227,226,208,209,210,211,213,212,215,214,218,219,216,217,223,222,221,220,197,196,199,198,192,193,194,195,207,206,205,204,202,203,200,201},{0,10,20,30,40,34,60,54,81,91,69,79,121,115,109,103,162,168,182,188,138,128,158,148,243,249,231,237,219,209,207,197,162,167,168,173,182,179,188,185,138,143,128,133,158,155,148,145,243,246,249,252,231,226,237,232,219,222,209,212,207,202,197,192,162,160,167,165,168,170,173,175,182,180,179,177,188,190,185,187,138,136,143,141,128,130,133,135,158,156,155,153,148,150,145,147,243,241,246,244,249,251,252,254,231,229,226,224,237,239,232,234,219,217,222,220,209,211,212,214,207,205,202,200,197,199,192,194,162,163,160,161,167,166,165,164,168,169,170,171,173,172,175,174,182,183,180,181,179,178,177,176,188,189,190,191,185,184,187,186,138,139,136,137,143,142,141,140,128,129,130,131,133,132,135,134,158,159,156,157,155,154,153,152,148,149,150,151,145,144,147,146,243,242,241,240,246,247,244,245,249,248,251,250,252,253,254,255,231,230,229,228,226,227,224,225,237,236,239,238,232,233,234,235,219,218,217,216,222,223,220,221,209,208,211,210,212,213,214,215,207,206,205,204,202,203,200,201,197,196,199,198,192,193,194,195},{0,10,20,30,40,34,60,54,81,91,69,79,121,115,109,103,163,169,183,189,139,129,159,149,242,248,230,236,218,208,206,196,163,166,169,172,183,178,189,184,139,142,129,132,159,154,149,144,242,247,248,253,230,227,236,233,218,223,208,213,206,203,196,193,163,161,166,164,169,171,172,174,183,181,178,176,189,191,184,186,139,137,142,140,129,131,132,134,159,157,154,152,149,151,144,146,242,240,247,245,248,250,253,255,230,228,227,225,236,238,233,235,218,216,223,221,208,210,213,215,206,204,203,201,196,198,193,195,163,162,161,160,166,167,164,165,169,168,171,170,172,173,174,175,183,182,181,180,178,179,176,177,189,188,191,190,184,185,186,187,139,138,137,136,142,143,140,141,129,128,131,130,132,133,134,135,159,158,157,156,154,155,152,153,149,148,151,150,144,145,146,147,242,243,240,241,247,246,245,244,248,249,250,251,253,252,255,254,230,231,228,229,227,226,225,224,236,237,238,239,233,232,235,234,218,219,216,217,223,222,221,220,208,209,210,211,213,212,215,214,206,207,204,205,203,202,201,200,196,197,198,199,193,192,195,194},{0,10,20,30,40,34,60,54,80,90,68,78,120,114,108,102,160,170,180,190,136,130,156,150,240,250,228,238,216,210,204,198,160,165,170,175,180,177,190,187,136,141,130,135,156,153,150,147,240,245,250,255,228,225,238,235,216,221,210,215,204,201,198,195,160,162,165,167,170,168,175,173,180,182,177,179,190,188,187,185,136,138,141,143,130,128,135,133,156,158,153,155,150,148,147,145,240,242,245,247,250,248,255,253,228,230,225,227,238,236,235,233,216,218,221,223,210,208,215,213,204,206,201,203,198,196,195,193,160,161,162,163,165,164,167,166,170,171,168,169,175,174,173,172,180,181,182,183,177,176,179,178,190,191,188,189,187,186,185,184,136,137,138,139,141,140,143,142,130,131,128,129,135,134,133,132,156,157,158,159,153,152,155,154,150,151,148,149,147,146,145,144,240,241,242,243,245,244,247,246,250,251,248,249,255,254,253,252,228,229,230,231,225,224,227,226,238,239,236,237,235,234,233,232,216,217,218,219,221,220,223,222,210,211,208,209,215,214,213,212,204,205,206,207,201,200,203,202,198,199,196,197,195,194,193,192},{0,10,20,30,40,34,60,54,80,90,68,78,120,114,108,102,161,171,181,191,137,131,157,151,241,251,229,239,217,211,205,199,161,164,171,174,181,176,191,186,137,140,131,134,157,152,151,146,241,244,251,254,229,224,239,234,217,220,211,214,205,200,199,194,161,163,164,166,171,169,174,172,181,183,176,178,191,189,186,184,137,139,140,142,131,129,134,132,157,159,152,154,151,149,146,144,241,243,244,246,251,249,254,252,229,231,224,226,239,237,234,232,217,219,220,222,211,209,214,212,205,207,200,202,199,197,194,192,161,160,163,162,164,165,166,167,171,170,169,168,174,175,172,173,181,180,183,182,176,177,178,179,191,190,189,188,186,187,184,185,137,136,139,138,140,141,142,143,131,130,129,128,134,135,132,133,157,156,159,158,152,153,154,155,151,150,149,148,146,147,144,145,241,240,243,242,244,245,246,247,251,250,249,248,254,255,252,253,229,228,231,230,224,225,226,227,239,238,237,236,234,235,232,233,217,216,219,218,220,221,222,223,211,210,209,208,214,215,212,213,205,204,207,206,200,201,202,203,199,198,197,196,194,195,192,193},{0,10,20,30,41,35,61,55,83,89,71,77,122,112,110,100,166,172,178,184,143,133,155,145,245,255,225,235,220,214,200,194,166,163,172,169,178,183,184,189,143,138,133,128,155,158,145,148,245,240,255,250,225,228,235,238,220,217,214,211,200,205,194,199,166,164,163,161,172,174,169,171,178,176,183,181,184,186,189,191,143,141,138,136,133,135,128,130,155,153,158,156,145,147,148,150,245,247,240,242,255,253,250,248,225,227,228,230,235,233,238,236,220,222,217,219,214,212,211,209,200,202,205,207,194,192,199,197,166,167,164,165,163,162,161,160,172,173,174,175,169,168,171,170,178,179,176,177,183,182,181,180,184,185,186,187,189,188,191,190,143,142,141,140,138,139,136,137,133,132,135,134,128,129,130,131,155,154,153,152,158,159,156,157,145,144,147,146,148,149,150,151,245,244,247,246,240,241,242,243,255,254,253,252,250,251,248,249,225,224,227,226,228,229,230,231,235,234,233,232,238,239,236,237,220,221,222,223,217,216,219,218,214,215,212,213,211,210,209,208,200,201,202,203,205,204,207,206,194,195,192,193,199,198,197,196},{0,10,20,30,41,35,61,55,83,89,71,77,122,112,110,100,167,173,179,185,142,132,154,144,244,254,224,234,221,215,201,195,167,162,173,168,179,182,185,188,142,139,132,129,154,159,144,149,244,241,254,251,224,229,234,239,221,216,215,210,201,204,195,198,167,165,162,160,173,175,168,170,179,177,182,180,185,187,188,190,142,140,139,137,132,134,129,131,154,152,159,157,144,146,149,151,244,246,241,243,254,252,251,249,224,226,229,231,234,232,239,237,221,223,216,218,215,213,210,208,201,203,204,206,195,193,198,196,167,166,165,164,162,163,160,161,173,172,175,174,168,169,170,171,179,178,177,176,182,183,180,181,185,184,187,186,188,189,190,191,142,143,140,141,139,138,137,136,132,133,134,135,129,128,131,130,154,155,152,153,159,158,157,156,144,145,146,147,149,148,151,150,244,245,246,247,241,240,243,242,254,255,252,253,251,250,249,248,224,225,226,227,229,228,231,230,234,235,232,233,239,238,237,236,221,220,223,222,216,217,218,219,215,214,213,212,210,211,208,209,201,200,203,202,204,205,206,207,195,194,193,192,198,199,196,197},{0,10,20,30,41,35,61,55,82,88,70,76,123,113,111,101,164,174,176,186,141,135,153,147,246,252,226,232,223,213,203,193,164,161,174,171,176,181,186,191,141,136,135,130,153,156,147,150,246,243,252,249,226,231,232,237,223,218,213,208,203,206,193,196,164,166,161,163,174,172,171,169,176,178,181,183,186,184,191,189,141,143,136,138,135,133,130,128,153,155,156,158,147,145,150,148,246,244,243,241,252,254,249,251,226,224,231,229,232,234,237,239,223,221,218,216,213,215,208,210,203,201,206,204,193,195,196,198,164,165,166,167,161,160,163,162,174,175,172,173,171,170,169,168,176,177,178,179,181,180,183,182,186,187,184,185,191,190,189,188,141,140,143,142,136,137,138,139,135,134,133,132,130,131,128,129,153,152,155,154,156,157,158,159,147,146,145,144,150,151,148,149,246,247,244,245,243,242,241,240,252,253,254,255,249,248,251,250,226,227,224,225,231,230,229,228,232,233,234,235,237,236,239,238,223,222,221,220,218,219,216,217,213,212,215,214,208,209,210,211,203,202,201,200,206,207,204,205,193,192,195,194,196,197,198,199},{0,10,20,30,41,35,61,55,82,88,70,76,123,113,111,101,165,175,177,187,140,134,152,146,247,253,227,233,222,212,202,192,165,160,175,170,177,180,187,190,140,137,134,131,152,157,146,151,247,242,253,248,227,230,233,236,222,219,212,209,202,207,192,197,165,167,160,162,175,173,170,168,177,179,180,182,187,185,190,188,140,142,137,139,134,132,131,129,152,154,157,159,146,144,151,149,247,245,242,240,253,255,248,250,227,225,230,228,233,235,236,238,222,220,219,217,212,214,209,211,202,200,207,205,192,194,197,199,165,164,167,166,160,161,162,163,175,174,173,172,170,171,168,169,177,176,179,178,180,181,182,183,187,186,185,184,190,191,188,189,140,141,142,143,137,136,139,138,134,135,132,133,131,130,129,128,152,153,154,155,157,156,159,158,146,147,144,145,151,150,149,148,247,246,245,244,242,243,240,241,253,252,255,254,248,249,250,251,227,226,225,224,230,231,228,229,233,232,235,234,236,237,238,239,222,223,220,221,219,218,217,216,212,213,214,215,209,208,211,210,202,203,200,201,207,206,205,204,192,193,194,195,197,196,199,198},{0,11,23,28,46,37,57,50,92,87,75,64,114,121,101,110,185,178,174,165,151,156,128,139,229,238,242,249,203,192,220,215,185,188,178,183,174,171,165,160,151,146,156,153,128,133,139,142,229,224,238,235,242,247,249,252,203,206,192,197,220,217,215,210,185,187,188,190,178,176,183,181,174,172,171,169,165,167,160,162,151,149,146,144,156,158,153,155,128,130,133,135,139,137,142,140,229,231,224,226,238,236,235,233,242,240,247,245,249,251,252,254,203,201,206,204,192,194,197,199,220,222,217,219,215,213,210,208,185,184,187,186,188,189,190,191,178,179,176,177,183,182,181,180,174,175,172,173,171,170,169,168,165,164,167,166,160,161,162,163,151,150,149,148,146,147,144,145,156,157,158,159,153,152,155,154,128,129,130,131,133,132,135,134,139,138,137,136,142,143,140,141,229,228,231,230,224,225,226,227,238,239,236,237,235,234,233,232,242,243,240,241,247,246,245,244,249,248,251,250,252,253,254,255,203,202,201,200,206,207,204,205,192,193,194,195,197,196,199,198,220,221,222,223,217,216,219,218,215,214,213,212,210,211,208,209},{0,11,23,28,46,37,57,50,92,87,75,64,114,121,101,110,184,179,175,164,150,157,129,138,228,239,243,248,202,193,221,214,184,189,179,182,175,170,164,161,150,147,157,152,129,132,138,143,228,225,239,234,243,246,248,253,202,207,193,196,221,216,214,211,184,186,189,191,179,177,182,180,175,173,170,168,164,166,161,163,150,148,147,145,157,159,152,154,129,131,132,134,138,136,143,141,228,230,225,227,239,237,234,232,243,241,246,244,248,250,253,255,202,200,207,205,193,195,196,198,221,223,216,218,214,212,211,209,184,185,186,187,189,188,191,190,179,178,177,176,182,183,180,181,175,174,173,172,170,171,168,169,164,165,166,167,161,160,163,162,150,151,148,149,147,146,145,144,157,156,159,158,152,153,154,155,129,128,131,130,132,133,134,135,138,139,136,137,143,142,141,140,228,229,230,231,225,224,227,226,239,238,237,236,234,235,232,233,243,242,241,240,246,247,244,245,248,249,250,251,253,252,255,254,202,203,200,201,207,206,205,204,193,192,195,194,196,197,198,199,221,220,223,222,216,217,218,219,214,215,212,213,211,210,209,208},{0,11,23,28,46,37,57,50,93,86,74,65,115,120,100,111,187,176,172,167,149,158,130,137,230,237,241,250,200,195,223,212,187,190,176,181,172,169,167,162,149,144,158,155,130,135,137,140,230,227,237,232,241,244,250,255,200,205,195,198,223,218,212,209,187,185,190,188,176,178,181,183,172,174,169,171,167,165,162,160,149,151,144,146,158,156,155,153,130,128,135,133,137,139,140,142,230,228,227,225,237,239,232,234,241,243,244,246,250,248,255,253,200,202,205,207,195,193,198,196,223,221,218,216,212,214,209,211,187,186,185,184,190,191,188,189,176,177,178,179,181,180,183,182,172,173,174,175,169,168,171,170,167,166,165,164,162,163,160,161,149,148,151,150,144,145,146,147,158,159,156,157,155,154,153,152,130,131,128,129,135,134,133,132,137,136,139,138,140,141,142,143,230,231,228,229,227,226,225,224,237,236,239,238,232,233,234,235,241,240,243,242,244,245,246,247,250,251,248,249,255,254,253,252,200,201,202,203,205,204,207,206,195,194,193,192,198,199,196,197,223,222,221,220,218,219,216,217,212,213,214,215,209,208,211,210},{0,11,23,28,46,37,57,50,93,86,74,65,115,120,100,111,186,177,173,166,148,159,131,136,231,236,240,251,201,194,222,213,186,191,177,180,173,168,166,163,148,145,159,154,131,134,136,141,231,226,236,233,240,245,251,254,201,204,194,199,222,219,213,208,186,184,191,189,177,179,180,182,173,175,168,170,166,164,163,161,148,150,145,147,159,157,154,152,131,129,134,132,136,138,141,143,231,229,226,224,236,238,233,235,240,242,245,247,251,249,254,252,201,203,204,206,194,192,199,197,222,220,219,217,213,215,208,210,186,187,184,185,191,190,189,188,177,176,179,178,180,181,182,183,173,172,175,174,168,169,170,171,166,167,164,165,163,162,161,160,148,149,150,151,145,144,147,146,159,158,157,156,154,155,152,153,131,130,129,128,134,135,132,133,136,137,138,139,141,140,143,142,231,230,229,228,226,227,224,225,236,237,238,239,233,232,235,234,240,241,242,243,245,244,247,246,251,250,249,248,254,255,252,253,201,200,203,202,204,205,206,207,194,195,192,193,199,198,197,196,222,223,220,221,219,218,217,216,213,212,215,214,208,209,210,211},{0,11,23,28,47,36,56,51,94,85,73,66,113,122,102,109,189,182,170,161,146,153,133,142,227,232,244,255,204,199,219,208,189,184,182,179,170,175,161,164,146,151,153,156,133,128,142,139,227,230,232,237,244,241,255,250,204,201,199,194,219,222,208,213,189,191,184,186,182,180,179,177,170,168,175,173,161,163,164,166,146,144,151,149,153,155,156,158,133,135,128,130,142,140,139,137,227,225,230,228,232,234,237,239,244,246,241,243,255,253,250,248,204,206,201,203,199,197,194,192,219,217,222,220,208,210,213,215,189,188,191,190,184,185,186,187,182,183,180,181,179,178,177,176,170,171,168,169,175,174,173,172,161,160,163,162,164,165,166,167,146,147,144,145,151,150,149,148,153,152,155,154,156,157,158,159,133,132,135,134,128,129,130,131,142,143,140,141,139,138,137,136,227,226,225,224,230,231,228,229,232,233,234,235,237,236,239,238,244,245,246,247,241,240,243,242,255,254,253,252,250,251,248,249,204,205,206,207,201,200,203,202,199,198,197,196,194,195,192,193,219,218,217,216,222,223,220,221,208,209,210,211,213,212,215,214},{0,11,23,28,47,36,56,51,94,85,73,66,113,122,102,109,188,183,171,160,147,152,132,143,226,233,245,254,205,198,218,209,188,185,183,178,171,174,160,165,147,150,152,157,132,129,143,138,226,231,233,236,245,240,254,251,205,200,198,195,218,223,209,212,188,190,185,187,183,181,178,176,171,169,174,172,160,162,165,167,147,145,150,148,152,154,157,159,132,134,129,131,143,141,138,136,226,224,231,229,233,235,236,238,245,247,240,242,254,252,251,249,205,207,200,202,198,196,195,193,218,216,223,221,209,211,212,214,188,189,190,191,185,184,187,186,183,182,181,180,178,179,176,177,171,170,169,168,174,175,172,173,160,161,162,163,165,164,167,166,147,146,145,144,150,151,148,149,152,153,154,155,157,156,159,158,132,133,134,135,129,128,131,130,143,142,141,140,138,139,136,137,226,227,224,225,231,230,229,228,233,232,235,234,236,237,238,239,245,244,247,246,240,241,242,243,254,255,252,253,251,250,249,248,205,204,207,206,200,201,202,203,198,199,196,197,195,194,193,192,218,219,216,217,223,222,221,220,209,208,211,210,212,213,214,215},{0,11,23,28,47,36,56,51,95,84,72,67,112,123,103,108,191,180,168,163,144,155,135,140,224,235,247,252,207,196,216,211,191,186,180,177,168,173,163,166,144,149,155,158,135,130,140,137,224,229,235,238,247,242,252,249,207,202,196,193,216,221,211,214,191,189,186,184,180,182,177,179,168,170,173,175,163,161,166,164,144,146,149,151,155,153,158,156,135,133,130,128,140,142,137,139,224,226,229,231,235,233,238,236,247,245,242,240,252,254,249,251,207,205,202,200,196,198,193,195,216,218,221,223,211,209,214,212,191,190,189,188,186,187,184,185,180,181,182,183,177,176,179,178,168,169,170,171,173,172,175,174,163,162,161,160,166,167,164,165,144,145,146,147,149,148,151,150,155,154,153,152,158,159,156,157,135,134,133,132,130,131,128,129,140,141,142,143,137,136,139,138,224,225,226,227,229,228,231,230,235,234,233,232,238,239,236,237,247,246,245,244,242,243,240,241,252,253,254,255,249,248,251,250,207,206,205,204,202,203,200,201,196,197,198,199,193,192,195,194,216,217,218,219,221,220,223,222,211,210,209,208,214,215,212,213},{0,11,23,28,47,36,56,51,95,84,72,67,112,123,103,108,190,181,169,162,145,154,134,141,225,234,246,253,206,197,217,210,190,187,181,176,169,172,162,167,145,148,154,159,134,131,141,136,225,228,234,239,246,243,253,248,206,203,197,192,217,220,210,215,190,188,187,185,181,183,176,178,169,171,172,174,162,160,167,165,145,147,148,150,154,152,159,157,134,132,131,129,141,143,136,138,225,227,228,230,234,232,239,237,246,244,243,241,253,255,248,250,206,204,203,201,197,199,192,194,217,219,220,222,210,208,215,213,190,191,188,189,187,186,185,184,181,180,183,182,176,177,178,179,169,168,171,170,172,173,174,175,162,163,160,161,167,166,165,164,145,144,147,146,148,149,150,151,154,155,152,153,159,158,157,156,134,135,132,133,131,130,129,128,141,140,143,142,136,137,138,139,225,224,227,226,228,229,230,231,234,235,232,233,239,238,237,236,246,247,244,245,243,242,241,240,253,252,255,254,248,249,250,251,206,207,204,205,203,202,201,200,197,196,199,198,192,193,194,195,217,216,219,218,220,221,222,223,210,211,208,209,215,214,213,212},{0,11,22,29,44,39,58,49,88,83,78,69,116,127,98,105,177,186,167,172,157,150,139,128,233,226,255,244,197,206,211,216,177,180,186,191,167,162,172,169,157,152,150,147,139,142,128,133,233,236,226,231,255,250,244,241,197,192,206,203,211,214,216,221,177,179,180,182,186,184,191,189,167,165,162,160,172,174,169,171,157,159,152,154,150,148,147,145,139,137,142,140,128,130,133,135,233,235,236,238,226,224,231,229,255,253,250,248,244,246,241,243,197,199,192,194,206,204,203,201,211,209,214,212,216,218,221,223,177,176,179,178,180,181,182,183,186,187,184,185,191,190,189,188,167,166,165,164,162,163,160,161,172,173,174,175,169,168,171,170,157,156,159,158,152,153,154,155,150,151,148,149,147,146,145,144,139,138,137,136,142,143,140,141,128,129,130,131,133,132,135,134,233,232,235,234,236,237,238,239,226,227,224,225,231,230,229,228,255,254,253,252,250,251,248,249,244,245,246,247,241,240,243,242,197,196,199,198,192,193,194,195,206,207,204,205,203,202,201,200,211,210,209,208,214,215,212,213,216,217,218,219,221,220,223,222},{0,11,22,29,44,39,58,49,88,83,78,69,116,127,98,105,176,187,166,173,156,151,138,129,232,227,254,245,196,207,210,217,176,181,187,190,166,163,173,168,156,153,151,146,138,143,129,132,232,237,227,230,254,251,245,240,196,193,207,202,210,215,217,220,176,178,181,183,187,185,190,188,166,164,163,161,173,175,168,170,156,158,153,155,151,149,146,144,138,136,143,141,129,131,132,134,232,234,237,239,227,225,230,228,254,252,251,249,245,247,240,242,196,198,193,195,207,205,202,200,210,208,215,213,217,219,220,222,176,177,178,179,181,180,183,182,187,186,185,184,190,191,188,189,166,167,164,165,163,162,161,160,173,172,175,174,168,169,170,171,156,157,158,159,153,152,155,154,151,150,149,148,146,147,144,145,138,139,136,137,143,142,141,140,129,128,131,130,132,133,134,135,232,233,234,235,237,236,239,238,227,226,225,224,230,231,228,229,254,255,252,253,251,250,249,248,245,244,247,246,240,241,242,243,196,197,198,199,193,192,195,194,207,206,205,204,202,203,200,201,210,211,208,209,215,214,213,212,217,216,219,218,220,221,222,223},{0,11,22,29,44,39,58,49,89,82,79,68,117,126,99,104,179,184,165,174,159,148,137,130,234,225,252,247,198,205,208,219,179,182,184,189,165,160,174,171,159,154,148,145,137,140,130,135,234,239,225,228,252,249,247,242,198,195,205,200,208,213,219,222,179,177,182,180,184,186,189,191,165,167,160,162,174,172,171,169,159,157,154,152,148,150,145,147,137,139,140,142,130,128,135,133,234,232,239,237,225,227,228,230,252,254,249,251,247,245,242,240,198,196,195,193,205,207,200,202,208,210,213,215,219,217,222,220,179,178,177,176,182,183,180,181,184,185,186,187,189,188,191,190,165,164,167,166,160,161,162,163,174,175,172,173,171,170,169,168,159,158,157,156,154,155,152,153,148,149,150,151,145,144,147,146,137,136,139,138,140,141,142,143,130,131,128,129,135,134,133,132,234,235,232,233,239,238,237,236,225,224,227,226,228,229,230,231,252,253,254,255,249,248,251,250,247,246,245,244,242,243,240,241,198,199,196,197,195,194,193,192,205,204,207,206,200,201,202,203,208,209,210,211,213,212,215,214,219,218,217,216,222,223,220,221},{0,11,22,29,44,39,58,49,89,82,79,68,117,126,99,104,178,185,164,175,158,149,136,131,235,224,253,246,199,204,209,218,178,183,185,188,164,161,175,170,158,155,149,144,136,141,131,134,235,238,224,229,253,248,246,243,199,194,204,201,209,212,218,223,178,176,183,181,185,187,188,190,164,166,161,163,175,173,170,168,158,156,155,153,149,151,144,146,136,138,141,143,131,129,134,132,235,233,238,236,224,226,229,231,253,255,248,250,246,244,243,241,199,197,194,192,204,206,201,203,209,211,212,214,218,216,223,221,178,179,176,177,183,182,181,180,185,184,187,186,188,189,190,191,164,165,166,167,161,160,163,162,175,174,173,172,170,171,168,169,158,159,156,157,155,154,153,152,149,148,151,150,144,145,146,147,136,137,138,139,141,140,143,142,131,130,129,128,134,135,132,133,235,234,233,232,238,239,236,237,224,225,226,227,229,228,231,230,253,252,255,254,248,249,250,251,246,247,244,245,243,242,241,240,199,198,197,196,194,195,192,193,204,205,206,207,201,200,203,202,209,208,211,210,212,213,214,215,218,219,216,217,223,222,221,220},{0,11,22,29,45,38,59,48,90,81,76,71,119,124,97,106,181,190,163,168,152,147,142,133,239,228,249,242,194,201,212,223,181,176,190,187,163,166,168,173,152,157,147,150,142,139,133,128,239,234,228,225,249,252,242,247,194,199,201,204,212,209,223,218,181,183,176,178,190,188,187,185,163,161,166,164,168,170,173,175,152,154,157,159,147,145,150,148,142,140,139,137,133,135,128,130,239,237,234,232,228,230,225,227,249,251,252,254,242,240,247,245,194,192,199,197,201,203,204,206,212,214,209,211,223,221,218,216,181,180,183,182,176,177,178,179,190,191,188,189,187,186,185,184,163,162,161,160,166,167,164,165,168,169,170,171,173,172,175,174,152,153,154,155,157,156,159,158,147,146,145,144,150,151,148,149,142,143,140,141,139,138,137,136,133,132,135,134,128,129,130,131,239,238,237,236,234,235,232,233,228,229,230,231,225,224,227,226,249,248,251,250,252,253,254,255,242,243,240,241,247,246,245,244,194,195,192,193,199,198,197,196,201,200,203,202,204,205,206,207,212,213,214,215,209,208,211,210,223,222,221,220,218,219,216,217},{0,11,22,29,45,38,59,48,90,81,76,71,119,124,97,106,180,191,162,169,153,146,143,132,238,229,248,243,195,200,213,222,180,177,191,186,162,167,169,172,153,156,146,151,143,138,132,129,238,235,229,224,248,253,243,246,195,198,200,205,213,208,222,219,180,182,177,179,191,189,186,184,162,160,167,165,169,171,172,174,153,155,156,158,146,144,151,149,143,141,138,136,132,134,129,131,238,236,235,233,229,231,224,226,248,250,253,255,243,241,246,244,195,193,198,196,200,202,205,207,213,215,208,210,222,220,219,217,180,181,182,183,177,176,179,178,191,190,189,188,186,187,184,185,162,163,160,161,167,166,165,164,169,168,171,170,172,173,174,175,153,152,155,154,156,157,158,159,146,147,144,145,151,150,149,148,143,142,141,140,138,139,136,137,132,133,134,135,129,128,131,130,238,239,236,237,235,234,233,232,229,228,231,230,224,225,226,227,248,249,250,251,253,252,255,254,243,242,241,240,246,247,244,245,195,194,193,192,198,199,196,197,200,201,202,203,205,204,207,206,213,212,215,214,208,209,210,211,222,223,220,221,219,218,217,216},{0,11,22,29,45,38,59,48,91,80,77,70,118,125,96,107,183,188,161,170,154,145,140,135,236,231,250,241,193,202,215,220,183,178,188,185,161,164,170,175,154,159,145,148,140,137,135,130,236,233,231,226,250,255,241,244,193,196,202,207,215,210,220,217,183,181,178,176,188,190,185,187,161,163,164,166,170,168,175,173,154,152,159,157,145,147,148,150,140,142,137,139,135,133,130,128,236,238,233,235,231,229,226,224,250,248,255,253,241,243,244,246,193,195,196,198,202,200,207,205,215,213,210,208,220,222,217,219,183,182,181,180,178,179,176,177,188,189,190,191,185,184,187,186,161,160,163,162,164,165,166,167,170,171,168,169,175,174,173,172,154,155,152,153,159,158,157,156,145,144,147,146,148,149,150,151,140,141,142,143,137,136,139,138,135,134,133,132,130,131,128,129,236,237,238,239,233,232,235,234,231,230,229,228,226,227,224,225,250,251,248,249,255,254,253,252,241,240,243,242,244,245,246,247,193,192,195,194,196,197,198,199,202,203,200,201,207,206,205,204,215,214,213,212,210,211,208,209,220,221,222,223,217,216,219,218},{0,11,22,29,45,38,59,48,91,80,77,70,118,125,96,107,182,189,160,171,155,144,141,134,237,230,251,240,192,203,214,221,182,179,189,184,160,165,171,174,155,158,144,149,141,136,134,131,237,232,230,227,251,254,240,245,192,197,203,206,214,211,221,216,182,180,179,177,189,191,184,186,160,162,165,167,171,169,174,172,155,153,158,156,144,146,149,151,141,143,136,138,134,132,131,129,237,239,232,234,230,228,227,225,251,249,254,252,240,242,245,247,192,194,197,199,203,201,206,204,214,212,211,209,221,223,216,218,182,183,180,181,179,178,177,176,189,188,191,190,184,185,186,187,160,161,162,163,165,164,167,166,171,170,169,168,174,175,172,173,155,154,153,152,158,159,156,157,144,145,146,147,149,148,151,150,141,140,143,142,136,137,138,139,134,135,132,133,131,130,129,128,237,236,239,238,232,233,234,235,230,231,228,229,227,226,225,224,251,250,249,248,254,255,252,253,240,241,242,243,245,244,247,246,192,193,194,195,197,196,199,198,203,202,201,200,206,207,204,205,214,215,212,213,211,210,209,208,221,220,223,222,216,217,218,219},{0,15,31,16,63,48,32,47,127,112,96,111,64,79,95,80,255,240,224,239,192,207,223,208,128,143,159,144,191,176,160,175,255,248,240,247,224,231,239,232,192,199,207,200,223,216,208,215,128,135,143,136,159,152,144,151,191,184,176,183,160,167,175,168,255,252,248,251,240,243,247,244,224,227,231,228,239,236,232,235,192,195,199,196,207,204,200,203,223,220,216,219,208,211,215,212,128,131,135,132,143,140,136,139,159,156,152,155,144,147,151,148,191,188,184,187,176,179,183,180,160,163,167,164,175,172,168,171,255,254,252,253,248,249,251,250,240,241,243,242,247,246,244,245,224,225,227,226,231,230,228,229,239,238,236,237,232,233,235,234,192,193,195,194,199,198,196,197,207,206,204,205,200,201,203,202,223,222,220,221,216,217,219,218,208,209,211,210,215,214,212,213,128,129,131,130,135,134,132,133,143,142,140,141,136,137,139,138,159,158,156,157,152,153,155,154,144,145,147,146,151,150,148,149,191,190,188,189,184,185,187,186,176,177,179,178,183,182,180,181,160,161,163,162,167,166,164,165,175,174,172,173,168,169,171,170},{0,15,31,16,63,48,32,47,127,112,96,111,64,79,95,80,254,241,225,238,193,206,222,209,129,142,158,145,190,177,161,174,254,249,241,246,225,230,238,233,193,198,206,201,222,217,209,214,129,134,142,137,158,153,145,150,190,185,177,182,161,166,174,169,254,253,249,250,241,242,246,245,225,226,230,229,238,237,233,234,193,194,198,197,206,205,201,202,222,221,217,218,209,210,214,213,129,130,134,133,142,141,137,138,158,157,153,154,145,146,150,149,190,189,185,186,177,178,182,181,161,162,166,165,174,173,169,170,254,255,253,252,249,248,250,251,241,240,242,243,246,247,245,244,225,224,226,227,230,231,229,228,238,239,237,236,233,232,234,235,193,192,194,195,198,199,197,196,206,207,205,204,201,200,202,203,222,223,221,220,217,216,218,219,209,208,210,211,214,215,213,212,129,128,130,131,134,135,133,132,142,143,141,140,137,136,138,139,158,159,157,156,153,152,154,155,145,144,146,147,150,151,149,148,190,191,189,188,185,184,186,187,177,176,178,179,182,183,181,180,161,160,162,163,166,167,165,164,174,175,173,172,169,168,170,171},{0,15,31,16,63,48,32,47,126,113,97,110,65,78,94,81,253,242,226,237,194,205,221,210,131,140,156,147,188,179,163,172,253,250,242,245,226,229,237,234,194,197,205,202,221,218,210,213,131,132,140,139,156,155,147,148,188,187,179,180,163,164,172,171,253,254,250,249,242,241,245,246,226,225,229,230,237,238,234,233,194,193,197,198,205,206,202,201,221,222,218,217,210,209,213,214,131,128,132,135,140,143,139,136,156,159,155,152,147,144,148,151,188,191,187,184,179,176,180,183,163,160,164,167,172,175,171,168,253,252,254,255,250,251,249,248,242,243,241,240,245,244,246,247,226,227,225,224,229,228,230,231,237,236,238,239,234,235,233,232,194,195,193,192,197,196,198,199,205,204,206,207,202,203,201,200,221,220,222,223,218,219,217,216,210,211,209,208,213,212,214,215,131,130,128,129,132,133,135,134,140,141,143,142,139,138,136,137,156,157,159,158,155,154,152,153,147,146,144,145,148,149,151,150,188,189,191,190,187,186,184,185,179,178,176,177,180,181,183,182,163,162,160,161,164,165,167,166,172,173,175,174,171,170,168,169},{0,15,31,16,63,48,32,47,126,113,97,110,65,78,94,81,252,243,227,236,195,204,220,211,130,141,157,146,189,178,162,173,252,251,243,244,227,228,236,235,195,196,204,203,220,219,211,212,130,133,141,138,157,154,146,149,189,186,178,181,162,165,173,170,252,255,251,248,243,240,244,247,227,224,228,231,236,239,235,232,195,192,196,199,204,207,203,200,220,223,219,216,211,208,212,215,130,129,133,134,141,142,138,137,157,158,154,153,146,145,149,150,189,190,186,185,178,177,181,182,162,161,165,166,173,174,170,169,252,253,255,254,251,250,248,249,243,242,240,241,244,245,247,246,227,226,224,225,228,229,231,230,236,237,239,238,235,234,232,233,195,194,192,193,196,197,199,198,204,205,207,206,203,202,200,201,220,221,223,222,219,218,216,217,211,210,208,209,212,213,215,214,130,131,129,128,133,132,134,135,141,140,142,143,138,139,137,136,157,156,158,159,154,155,153,152,146,147,145,144,149,148,150,151,189,188,190,191,186,187,185,184,178,179,177,176,181,180,182,183,162,163,161,160,165,164,166,167,173,172,174,175,170,171,169,168},{0,15,31,16,62,49,33,46,125,114,98,109,67,76,92,83,250,245,229,234,196,203,219,212,135,136,152,151,185,182,166,169,250,253,245,242,229,226,234,237,196,195,203,204,219,220,212,211,135,128,136,143,152,159,151,144,185,190,182,177,166,161,169,174,250,249,253,254,245,246,242,241,229,230,226,225,234,233,237,238,196,199,195,192,203,200,204,207,219,216,220,223,212,215,211,208,135,132,128,131,136,139,143,140,152,155,159,156,151,148,144,147,185,186,190,189,182,181,177,178,166,165,161,162,169,170,174,173,250,251,249,248,253,252,254,255,245,244,246,247,242,243,241,240,229,228,230,231,226,227,225,224,234,235,233,232,237,236,238,239,196,197,199,198,195,194,192,193,203,202,200,201,204,205,207,206,219,218,216,217,220,221,223,222,212,213,215,214,211,210,208,209,135,134,132,133,128,129,131,130,136,137,139,138,143,142,140,141,152,153,155,154,159,158,156,157,151,150,148,149,144,145,147,146,185,184,186,187,190,191,189,188,182,183,181,180,177,176,178,179,166,167,165,164,161,160,162,163,169,168,170,171,174,175,173,172},{0,15,31,16,62,49,33,46,125,114,98,109,67,76,92,83,251,244,228,235,197,202,218,213,134,137,153,150,184,183,167,168,251,252,244,243,228,227,235,236,197,194,202,205,218,221,213,210,134,129,137,142,153,158,150,145,184,191,183,176,167,160,168,175,251,248,252,255,244,247,243,240,228,231,227,224,235,232,236,239,197,198,194,193,202,201,205,206,218,217,221,222,213,214,210,209,134,133,129,130,137,138,142,141,153,154,158,157,150,149,145,146,184,187,191,188,183,180,176,179,167,164,160,163,168,171,175,172,251,250,248,249,252,253,255,254,244,245,247,246,243,242,240,241,228,229,231,230,227,226,224,225,235,234,232,233,236,237,239,238,197,196,198,199,194,195,193,192,202,203,201,200,205,204,206,207,218,219,217,216,221,220,222,223,213,212,214,215,210,211,209,208,134,135,133,132,129,128,130,131,137,136,138,139,142,143,141,140,153,152,154,155,158,159,157,156,150,151,149,148,145,144,146,147,184,185,187,186,191,190,188,189,183,182,180,181,176,177,179,178,167,166,164,165,160,161,163,162,168,169,171,170,175,174,172,173},{0,15,31,16,62,49,33,46,124,115,99,108,66,77,93,82,248,247,231,232,198,201,217,214,132,139,155,148,186,181,165,170,248,255,247,240,231,224,232,239,198,193,201,206,217,222,214,209,132,131,139,140,155,156,148,147,186,189,181,178,165,162,170,173,248,251,255,252,247,244,240,243,231,228,224,227,232,235,239,236,198,197,193,194,201,202,206,205,217,218,222,221,214,213,209,210,132,135,131,128,139,136,140,143,155,152,156,159,148,151,147,144,186,185,189,190,181,182,178,177,165,166,162,161,170,169,173,174,248,249,251,250,255,254,252,253,247,246,244,245,240,241,243,242,231,230,228,229,224,225,227,226,232,233,235,234,239,238,236,237,198,199,197,196,193,192,194,195,201,200,202,203,206,207,205,204,217,216,218,219,222,223,221,220,214,215,213,212,209,208,210,211,132,133,135,134,131,130,128,129,139,138,136,137,140,141,143,142,155,154,152,153,156,157,159,158,148,149,151,150,147,146,144,145,186,187,185,184,189,188,190,191,181,180,182,183,178,179,177,176,165,164,166,167,162,163,161,160,170,171,169,168,173,172,174,175},{0,15,31,16,62,49,33,46,124,115,99,108,66,77,93,82,249,246,230,233,199,200,216,215,133,138,154,149,187,180,164,171,249,254,246,241,230,225,233,238,199,192,200,207,216,223,215,208,133,130,138,141,154,157,149,146,187,188,180,179,164,163,171,172,249,250,254,253,246,245,241,242,230,229,225,226,233,234,238,237,199,196,192,195,200,203,207,204,216,219,223,220,215,212,208,211,133,134,130,129,138,137,141,142,154,153,157,158,149,150,146,145,187,184,188,191,180,183,179,176,164,167,163,160,171,168,172,175,249,248,250,251,254,255,253,252,246,247,245,244,241,240,242,243,230,231,229,228,225,224,226,227,233,232,234,235,238,239,237,236,199,198,196,197,192,193,195,194,200,201,203,202,207,206,204,205,216,217,219,218,223,222,220,221,215,214,212,213,208,209,211,210,133,132,134,135,130,131,129,128,138,139,137,136,141,140,142,143,154,155,153,152,157,156,158,159,149,148,150,151,146,147,145,144,187,186,184,185,188,189,191,190,180,181,183,182,179,178,176,177,164,165,167,166,163,162,160,161,171,170,168,169,172,173,175,174},{0,15,30,17,61,50,35,44,122,117,100,107,71,72,89,86,245,250,235,228,200,199,214,217,143,128,145,158,178,189,172,163,245,242,250,253,235,236,228,227,200,207,199,192,214,209,217,222,143,136,128,135,145,150,158,153,178,181,189,186,172,171,163,164,245,246,242,241,250,249,253,254,235,232,236,239,228,231,227,224,200,203,207,204,199,196,192,195,214,213,209,210,217,218,222,221,143,140,136,139,128,131,135,132,145,146,150,149,158,157,153,154,178,177,181,182,189,190,186,185,172,175,171,168,163,160,164,167,245,244,246,247,242,243,241,240,250,251,249,248,253,252,254,255,235,234,232,233,236,237,239,238,228,229,231,230,227,226,224,225,200,201,203,202,207,206,204,205,199,198,196,197,192,193,195,194,214,215,213,212,209,208,210,211,217,216,218,219,222,223,221,220,143,142,140,141,136,137,139,138,128,129,131,130,135,134,132,133,145,144,146,147,150,151,149,148,158,159,157,156,153,152,154,155,178,179,177,176,181,180,182,183,189,188,190,191,186,187,185,184,172,173,175,174,171,170,168,169,163,162,160,161,164,165,167,166},{0,15,30,17,61,50,35,44,122,117,100,107,71,72,89,86,244,251,234,229,201,198,215,216,142,129,144,159,179,188,173,162,244,243,251,252,234,237,229,226,201,206,198,193,215,208,216,223,142,137,129,134,144,151,159,152,179,180,188,187,173,170,162,165,244,247,243,240,251,248,252,255,234,233,237,238,229,230,226,225,201,202,206,205,198,197,193,194,215,212,208,211,216,219,223,220,142,141,137,138,129,130,134,133,144,147,151,148,159,156,152,155,179,176,180,183,188,191,187,184,173,174,170,169,162,161,165,166,244,245,247,246,243,242,240,241,251,250,248,249,252,253,255,254,234,235,233,232,237,236,238,239,229,228,230,231,226,227,225,224,201,200,202,203,206,207,205,204,198,199,197,196,193,192,194,195,215,214,212,213,208,209,211,210,216,217,219,218,223,222,220,221,142,143,141,140,137,136,138,139,129,128,130,131,134,135,133,132,144,145,147,146,151,150,148,149,159,158,156,157,152,153,155,154,179,178,176,177,180,181,183,182,188,189,191,190,187,186,184,185,173,172,174,175,170,171,169,168,162,163,161,160,165,164,166,167},{0,15,30,17,61,50,35,44,123,116,101,106,70,73,88,87,247,248,233,230,202,197,212,219,140,131,146,157,177,190,175,160,247,240,248,255,233,238,230,225,202,205,197,194,212,211,219,220,140,139,131,132,146,149,157,154,177,182,190,185,175,168,160,167,247,244,240,243,248,251,255,252,233,234,238,237,230,229,225,226,202,201,205,206,197,198,194,193,212,215,211,208,219,216,220,223,140,143,139,136,131,128,132,135,146,145,149,150,157,158,154,153,177,178,182,181,190,189,185,186,175,172,168,171,160,163,167,164,247,246,244,245,240,241,243,242,248,249,251,250,255,254,252,253,233,232,234,235,238,239,237,236,230,231,229,228,225,224,226,227,202,203,201,200,205,204,206,207,197,196,198,199,194,195,193,192,212,213,215,214,211,210,208,209,219,218,216,217,220,221,223,222,140,141,143,142,139,138,136,137,131,130,128,129,132,133,135,134,146,147,145,144,149,148,150,151,157,156,158,159,154,155,153,152,177,176,178,179,182,183,181,180,190,191,189,188,185,184,186,187,175,174,172,173,168,169,171,170,160,161,163,162,167,166,164,165},{0,15,30,17,61,50,35,44,123,116,101,106,70,73,88,87,246,249,232,231,203,196,213,218,141,130,147,156,176,191,174,161,246,241,249,254,232,239,231,224,203,204,196,195,213,210,218,221,141,138,130,133,147,148,156,155,176,183,191,184,174,169,161,166,246,245,241,242,249,250,254,253,232,235,239,236,231,228,224,227,203,200,204,207,196,199,195,192,213,214,210,209,218,217,221,222,141,142,138,137,130,129,133,134,147,144,148,151,156,159,155,152,176,179,183,180,191,188,184,187,174,173,169,170,161,162,166,165,246,247,245,244,241,240,242,243,249,248,250,251,254,255,253,252,232,233,235,234,239,238,236,237,231,230,228,229,224,225,227,226,203,202,200,201,204,205,207,206,196,197,199,198,195,194,192,193,213,212,214,215,210,211,209,208,218,219,217,216,221,220,222,223,141,140,142,143,138,139,137,136,130,131,129,128,133,132,134,135,147,146,144,145,148,149,151,150,156,157,159,158,155,154,152,153,176,177,179,178,183,182,180,181,191,190,188,189,184,185,187,186,174,175,173,172,169,168,170,171,161,160,162,163,166,167,165,164},{0,15,30,17,60,51,34,45,120,119,102,105,68,75,90,85,240,255,238,225,204,195,210,221,136,135,150,153,180,187,170,165,240,247,255,248,238,233,225,230,204,203,195,196,210,213,221,218,136,143,135,128,150,145,153,158,180,179,187,188,170,173,165,162,240,243,247,244,255,252,248,251,238,237,233,234,225,226,230,229,204,207,203,200,195,192,196,199,210,209,213,214,221,222,218,217,136,139,143,140,135,132,128,131,150,149,145,146,153,154,158,157,180,183,179,176,187,184,188,191,170,169,173,174,165,166,162,161,240,241,243,242,247,246,244,245,255,254,252,253,248,249,251,250,238,239,237,236,233,232,234,235,225,224,226,227,230,231,229,228,204,205,207,206,203,202,200,201,195,194,192,193,196,197,199,198,210,211,209,208,213,212,214,215,221,220,222,223,218,219,217,216,136,137,139,138,143,142,140,141,135,134,132,133,128,129,131,130,150,151,149,148,145,144,146,147,153,152,154,155,158,159,157,156,180,181,183,182,179,178,176,177,187,186,184,185,188,189,191,190,170,171,169,168,173,172,174,175,165,164,166,167,162,163,161,160},{0,15,30,17,60,51,34,45,120,119,102,105,68,75,90,85,241,254,239,224,205,194,211,220,137,134,151,152,181,186,171,164,241,246,254,249,239,232,224,231,205,202,194,197,211,212,220,219,137,142,134,129,151,144,152,159,181,178,186,189,171,172,164,163,241,242,246,245,254,253,249,250,239,236,232,235,224,227,231,228,205,206,202,201,194,193,197,198,211,208,212,215,220,223,219,216,137,138,142,141,134,133,129,130,151,148,144,147,152,155,159,156,181,182,178,177,186,185,189,190,171,168,172,175,164,167,163,160,241,240,242,243,246,247,245,244,254,255,253,252,249,248,250,251,239,238,236,237,232,233,235,234,224,225,227,226,231,230,228,229,205,204,206,207,202,203,201,200,194,195,193,192,197,196,198,199,211,210,208,209,212,213,215,214,220,221,223,222,219,218,216,217,137,136,138,139,142,143,141,140,134,135,133,132,129,128,130,131,151,150,148,149,144,145,147,146,152,153,155,154,159,158,156,157,181,180,182,183,178,179,177,176,186,187,185,184,189,188,190,191,171,170,168,169,172,173,175,174,164,165,167,166,163,162,160,161},{0,15,30,17,60,51,34,45,121,118,103,104,69,74,91,84,242,253,236,227,206,193,208,223,139,132,149,154,183,184,169,166,242,245,253,250,236,235,227,228,206,201,193,198,208,215,223,216,139,140,132,131,149,146,154,157,183,176,184,191,169,174,166,161,242,241,245,246,253,254,250,249,236,239,235,232,227,224,228,231,206,205,201,202,193,194,198,197,208,211,215,212,223,220,216,219,139,136,140,143,132,135,131,128,149,150,146,145,154,153,157,158,183,180,176,179,184,187,191,188,169,170,174,173,166,165,161,162,242,243,241,240,245,244,246,247,253,252,254,255,250,251,249,248,236,237,239,238,235,234,232,233,227,226,224,225,228,229,231,230,206,207,205,204,201,200,202,203,193,192,194,195,198,199,197,196,208,209,211,210,215,214,212,213,223,222,220,221,216,217,219,218,139,138,136,137,140,141,143,142,132,133,135,134,131,130,128,129,149,148,150,151,146,147,145,144,154,155,153,152,157,156,158,159,183,182,180,181,176,177,179,178,184,185,187,186,191,190,188,189,169,168,170,171,174,175,173,172,166,167,165,164,161,160,162,163},{0,15,30,17,60,51,34,45,121,118,103,104,69,74,91,84,243,252,237,226,207,192,209,222,138,133,148,155,182,185,168,167,243,244,252,251,237,234,226,229,207,200,192,199,209,214,222,217,138,141,133,130,148,147,155,156,182,177,185,190,168,175,167,160,243,240,244,247,252,255,251,248,237,238,234,233,226,225,229,230,207,204,200,203,192,195,199,196,209,210,214,213,222,221,217,218,138,137,141,142,133,134,130,129,148,151,147,144,155,152,156,159,182,181,177,178,185,186,190,189,168,171,175,172,167,164,160,163,243,242,240,241,244,245,247,246,252,253,255,254,251,250,248,249,237,236,238,239,234,235,233,232,226,227,225,224,229,228,230,231,207,206,204,205,200,201,203,202,192,193,195,194,199,198,196,197,209,208,210,211,214,215,213,212,222,223,221,220,217,216,218,219,138,139,137,136,141,140,142,143,133,132,134,135,130,131,129,128,148,149,151,150,147,146,144,145,155,154,152,153,156,157,159,158,182,183,181,180,177,176,178,179,185,184,186,187,190,191,189,188,168,169,171,170,175,174,172,173,167,166,164,165,160,161,163,162},{0,14,29,19,58,52,39,41,116,122,105,103,78,64,83,93,233,231,244,250,211,221,206,192,157,147,128,142,167,169,186,180,233,238,231,224,244,243,250,253,211,212,221,218,206,201,192,199,157,154,147,148,128,135,142,137,167,160,169,174,186,189,180,179,233,234,238,237,231,228,224,227,244,247,243,240,250,249,253,254,211,208,212,215,221,222,218,217,206,205,201,202,192,195,199,196,157,158,154,153,147,144,148,151,128,131,135,132,142,141,137,138,167,164,160,163,169,170,174,173,186,185,189,190,180,183,179,176,233,232,234,235,238,239,237,236,231,230,228,229,224,225,227,226,244,245,247,246,243,242,240,241,250,251,249,248,253,252,254,255,211,210,208,209,212,213,215,214,221,220,222,223,218,219,217,216,206,207,205,204,201,200,202,203,192,193,195,194,199,198,196,197,157,156,158,159,154,155,153,152,147,146,144,145,148,149,151,150,128,129,131,130,135,134,132,133,142,143,141,140,137,136,138,139,167,166,164,165,160,161,163,162,169,168,170,171,174,175,173,172,186,187,185,184,189,188,190,191,180,181,183,182,179,178,176,177},{0,14,29,19,58,52,39,41,116,122,105,103,78,64,83,93,232,230,245,251,210,220,207,193,156,146,129,143,166,168,187,181,232,239,230,225,245,242,251,252,210,213,220,219,207,200,193,198,156,155,146,149,129,134,143,136,166,161,168,175,187,188,181,178,232,235,239,236,230,229,225,226,245,246,242,241,251,248,252,255,210,209,213,214,220,223,219,216,207,204,200,203,193,194,198,197,156,159,155,152,146,145,149,150,129,130,134,133,143,140,136,139,166,165,161,162,168,171,175,172,187,184,188,191,181,182,178,177,232,233,235,234,239,238,236,237,230,231,229,228,225,224,226,227,245,244,246,247,242,243,241,240,251,250,248,249,252,253,255,254,210,211,209,208,213,212,214,215,220,221,223,222,219,218,216,217,207,206,204,205,200,201,203,202,193,192,194,195,198,199,197,196,156,157,159,158,155,154,152,153,146,147,145,144,149,148,150,151,129,128,130,131,134,135,133,132,143,142,140,141,136,137,139,138,166,167,165,164,161,160,162,163,168,169,171,170,175,174,172,173,187,186,184,185,188,189,191,190,181,180,182,183,178,179,177,176},{0,14,29,19,58,52,39,41,117,123,104,102,79,65,82,92,235,229,246,248,209,223,204,194,158,144,131,141,164,170,185,183,235,236,229,226,246,241,248,255,209,214,223,216,204,203,194,197,158,153,144,151,131,132,141,138,164,163,170,173,185,190,183,176,235,232,236,239,229,230,226,225,246,245,241,242,248,251,255,252,209,210,214,213,223,220,216,219,204,207,203,200,194,193,197,198,158,157,153,154,144,147,151,148,131,128,132,135,141,142,138,137,164,167,163,160,170,169,173,174,185,186,190,189,183,180,176,179,235,234,232,233,236,237,239,238,229,228,230,231,226,227,225,224,246,247,245,244,241,240,242,243,248,249,251,250,255,254,252,253,209,208,210,211,214,215,213,212,223,222,220,221,216,217,219,218,204,205,207,206,203,202,200,201,194,195,193,192,197,196,198,199,158,159,157,156,153,152,154,155,144,145,147,146,151,150,148,149,131,130,128,129,132,133,135,134,141,140,142,143,138,139,137,136,164,165,167,166,163,162,160,161,170,171,169,168,173,172,174,175,185,184,186,187,190,191,189,188,183,182,180,181,176,177,179,178},{0,14,29,19,58,52,39,41,117,123,104,102,79,65,82,92,234,228,247,249,208,222,205,195,159,145,130,140,165,171,184,182,234,237,228,227,247,240,249,254,208,215,222,217,205,202,195,196,159,152,145,150,130,133,140,139,165,162,171,172,184,191,182,177,234,233,237,238,228,231,227,224,247,244,240,243,249,250,254,253,208,211,215,212,222,221,217,218,205,206,202,201,195,192,196,199,159,156,152,155,145,146,150,149,130,129,133,134,140,143,139,136,165,166,162,161,171,168,172,175,184,187,191,188,182,181,177,178,234,235,233,232,237,236,238,239,228,229,231,230,227,226,224,225,247,246,244,245,240,241,243,242,249,248,250,251,254,255,253,252,208,209,211,210,215,214,212,213,222,223,221,220,217,216,218,219,205,204,206,207,202,203,201,200,195,194,192,193,196,197,199,198,159,158,156,157,152,153,155,154,145,144,146,147,150,151,149,148,130,131,129,128,133,132,134,135,140,141,143,142,139,138,136,137,165,164,166,167,162,163,161,160,171,170,168,169,172,173,175,174,184,185,187,186,191,190,188,189,182,183,181,180,177,176,178,179},{0,14,29,19,59,53,38,40,118,120,107,101,77,67,80,94,236,226,241,255,215,217,202,196,154,148,135,137,161,175,188,178,236,235,226,229,241,246,255,248,215,208,217,222,202,205,196,195,154,157,148,147,135,128,137,142,161,166,175,168,188,187,178,181,236,239,235,232,226,225,229,230,241,242,246,245,255,252,248,251,215,212,208,211,217,218,222,221,202,201,205,206,196,199,195,192,154,153,157,158,148,151,147,144,135,132,128,131,137,138,142,141,161,162,166,165,175,172,168,171,188,191,187,184,178,177,181,182,236,237,239,238,235,234,232,233,226,227,225,224,229,228,230,231,241,240,242,243,246,247,245,244,255,254,252,253,248,249,251,250,215,214,212,213,208,209,211,210,217,216,218,219,222,223,221,220,202,203,201,200,205,204,206,207,196,197,199,198,195,194,192,193,154,155,153,152,157,156,158,159,148,149,151,150,147,146,144,145,135,134,132,133,128,129,131,130,137,136,138,139,142,143,141,140,161,160,162,163,166,167,165,164,175,174,172,173,168,169,171,170,188,189,191,190,187,186,184,185,178,179,177,176,181,180,182,183},{0,14,29,19,59,53,38,40,118,120,107,101,77,67,80,94,237,227,240,254,214,216,203,197,155,149,134,136,160,174,189,179,237,234,227,228,240,247,254,249,214,209,216,223,203,204,197,194,155,156,149,146,134,129,136,143,160,167,174,169,189,186,179,180,237,238,234,233,227,224,228,231,240,243,247,244,254,253,249,250,214,213,209,210,216,219,223,220,203,200,204,207,197,198,194,193,155,152,156,159,149,150,146,145,134,133,129,130,136,139,143,140,160,163,167,164,174,173,169,170,189,190,186,185,179,176,180,183,237,236,238,239,234,235,233,232,227,226,224,225,228,229,231,230,240,241,243,242,247,246,244,245,254,255,253,252,249,248,250,251,214,215,213,212,209,208,210,211,216,217,219,218,223,222,220,221,203,202,200,201,204,205,207,206,197,196,198,199,194,195,193,192,155,154,152,153,156,157,159,158,149,148,150,151,146,147,145,144,134,135,133,132,129,128,130,131,136,137,139,138,143,142,140,141,160,161,163,162,167,166,164,165,174,175,173,172,169,168,170,171,189,188,190,191,186,187,185,184,179,178,176,177,180,181,183,182},{0,14,29,19,59,53,38,40,119,121,106,100,76,66,81,95,238,224,243,253,213,219,200,198,153,151,132,138,162,172,191,177,238,233,224,231,243,244,253,250,213,210,219,220,200,207,198,193,153,158,151,144,132,131,138,141,162,165,172,171,191,184,177,182,238,237,233,234,224,227,231,228,243,240,244,247,253,254,250,249,213,214,210,209,219,216,220,223,200,203,207,204,198,197,193,194,153,154,158,157,151,148,144,147,132,135,131,128,138,137,141,142,162,161,165,166,172,175,171,168,191,188,184,187,177,178,182,181,238,239,237,236,233,232,234,235,224,225,227,226,231,230,228,229,243,242,240,241,244,245,247,246,253,252,254,255,250,251,249,248,213,212,214,215,210,211,209,208,219,218,216,217,220,221,223,222,200,201,203,202,207,206,204,205,198,199,197,196,193,192,194,195,153,152,154,155,158,159,157,156,151,150,148,149,144,145,147,146,132,133,135,134,131,130,128,129,138,139,137,136,141,140,142,143,162,163,161,160,165,164,166,167,172,173,175,174,171,170,168,169,191,190,188,189,184,185,187,186,177,176,178,179,182,183,181,180},{0,14,29,19,59,53,38,40,119,121,106,100,76,66,81,95,239,225,242,252,212,218,201,199,152,150,133,139,163,173,190,176,239,232,225,230,242,245,252,251,212,211,218,221,201,206,199,192,152,159,150,145,133,130,139,140,163,164,173,170,190,185,176,183,239,236,232,235,225,226,230,229,242,241,245,246,252,255,251,248,212,215,211,208,218,217,221,222,201,202,206,205,199,196,192,195,152,155,159,156,150,149,145,146,133,134,130,129,139,136,140,143,163,160,164,167,173,174,170,169,190,189,185,186,176,179,183,180,239,238,236,237,232,233,235,234,225,224,226,227,230,231,229,228,242,243,241,240,245,244,246,247,252,253,255,254,251,250,248,249,212,213,215,214,211,210,208,209,218,219,217,216,221,220,222,223,201,200,202,203,206,207,205,204,199,198,196,197,192,193,195,194,152,153,155,154,159,158,156,157,150,151,149,148,145,144,146,147,133,132,134,135,130,131,129,128,139,138,136,137,140,141,143,142,163,162,160,161,164,165,167,166,173,172,174,175,170,171,169,168,190,191,189,188,185,184,186,187,176,177,179,178,183,182,180,181},{0,14,28,18,56,54,36,42,113,127,109,99,73,71,85,91,227,237,255,241,219,213,199,201,146,156,142,128,170,164,182,184,227,228,237,234,255,248,241,246,219,220,213,210,199,192,201,206,146,149,156,155,142,137,128,135,170,173,164,163,182,177,184,191,227,224,228,231,237,238,234,233,255,252,248,251,241,242,246,245,219,216,220,223,213,214,210,209,199,196,192,195,201,202,206,205,146,145,149,150,156,159,155,152,142,141,137,138,128,131,135,132,170,169,173,174,164,167,163,160,182,181,177,178,184,187,191,188,227,226,224,225,228,229,231,230,237,236,238,239,234,235,233,232,255,254,252,253,248,249,251,250,241,240,242,243,246,247,245,244,219,218,216,217,220,221,223,222,213,212,214,215,210,211,209,208,199,198,196,197,192,193,195,194,201,200,202,203,206,207,205,204,146,147,145,144,149,148,150,151,156,157,159,158,155,154,152,153,142,143,141,140,137,136,138,139,128,129,131,130,135,134,132,133,170,171,169,168,173,172,174,175,164,165,167,166,163,162,160,161,182,183,181,180,177,176,178,179,184,185,187,186,191,190,188,189},{0,14,28,18,56,54,36,42,113,127,109,99,73,71,85,91,226,236,254,240,218,212,198,200,147,157,143,129,171,165,183,185,226,229,236,235,254,249,240,247,218,221,212,211,198,193,200,207,147,148,157,154,143,136,129,134,171,172,165,162,183,176,185,190,226,225,229,230,236,239,235,232,254,253,249,250,240,243,247,244,218,217,221,222,212,215,211,208,198,197,193,194,200,203,207,204,147,144,148,151,157,158,154,153,143,140,136,139,129,130,134,133,171,168,172,175,165,166,162,161,183,180,176,179,185,186,190,189,226,227,225,224,229,228,230,231,236,237,239,238,235,234,232,233,254,255,253,252,249,248,250,251,240,241,243,242,247,246,244,245,218,219,217,216,221,220,222,223,212,213,215,214,211,210,208,209,198,199,197,196,193,192,194,195,200,201,203,202,207,206,204,205,147,146,144,145,148,149,151,150,157,156,158,159,154,155,153,152,143,142,140,141,136,137,139,138,129,128,130,131,134,135,133,132,171,170,168,169,172,173,175,174,165,164,166,167,162,163,161,160,183,182,180,181,176,177,179,178,185,184,186,187,190,191,189,188},{0,14,28,18,56,54,36,42,112,126,108,98,72,70,84,90,225,239,253,243,217,215,197,203,145,159,141,131,169,167,181,187,225,230,239,232,253,250,243,244,217,222,215,208,197,194,203,204,145,150,159,152,141,138,131,132,169,174,167,160,181,178,187,188,225,226,230,229,239,236,232,235,253,254,250,249,243,240,244,247,217,218,222,221,215,212,208,211,197,198,194,193,203,200,204,207,145,146,150,149,159,156,152,155,141,142,138,137,131,128,132,135,169,170,174,173,167,164,160,163,181,182,178,177,187,184,188,191,225,224,226,227,230,231,229,228,239,238,236,237,232,233,235,234,253,252,254,255,250,251,249,248,243,242,240,241,244,245,247,246,217,216,218,219,222,223,221,220,215,214,212,213,208,209,211,210,197,196,198,199,194,195,193,192,203,202,200,201,204,205,207,206,145,144,146,147,150,151,149,148,159,158,156,157,152,153,155,154,141,140,142,143,138,139,137,136,131,130,128,129,132,133,135,134,169,168,170,171,174,175,173,172,167,166,164,165,160,161,163,162,181,180,182,183,178,179,177,176,187,186,184,185,188,189,191,190},{0,14,28,18,56,54,36,42,112,126,108,98,72,70,84,90,224,238,252,242,216,214,196,202,144,158,140,130,168,166,180,186,224,231,238,233,252,251,242,245,216,223,214,209,196,195,202,205,144,151,158,153,140,139,130,133,168,175,166,161,180,179,186,189,224,227,231,228,238,237,233,234,252,255,251,248,242,241,245,246,216,219,223,220,214,213,209,210,196,199,195,192,202,201,205,206,144,147,151,148,158,157,153,154,140,143,139,136,130,129,133,134,168,171,175,172,166,165,161,162,180,183,179,176,186,185,189,190,224,225,227,226,231,230,228,229,238,239,237,236,233,232,234,235,252,253,255,254,251,250,248,249,242,243,241,240,245,244,246,247,216,217,219,218,223,222,220,221,214,215,213,212,209,208,210,211,196,197,199,198,195,194,192,193,202,203,201,200,205,204,206,207,144,145,147,146,151,150,148,149,158,159,157,156,153,152,154,155,140,141,143,142,139,138,136,137,130,131,129,128,133,132,134,135,168,169,171,170,175,174,172,173,166,167,165,164,161,160,162,163,180,181,183,182,179,178,176,177,186,187,185,184,189,188,190,191},{0,14,28,18,57,55,37,43,115,125,111,97,74,68,86,88,230,232,250,244,223,209,195,205,149,155,137,135,172,162,176,190,230,225,232,239,250,253,244,243,223,216,209,214,195,196,205,202,149,146,155,156,137,142,135,128,172,171,162,165,176,183,190,185,230,229,225,226,232,235,239,236,250,249,253,254,244,247,243,240,223,220,216,219,209,210,214,213,195,192,196,199,205,206,202,201,149,150,146,145,155,152,156,159,137,138,142,141,135,132,128,131,172,175,171,168,162,161,165,166,176,179,183,180,190,189,185,186,230,231,229,228,225,224,226,227,232,233,235,234,239,238,236,237,250,251,249,248,253,252,254,255,244,245,247,246,243,242,240,241,223,222,220,221,216,217,219,218,209,208,210,211,214,215,213,212,195,194,192,193,196,197,199,198,205,204,206,207,202,203,201,200,149,148,150,151,146,147,145,144,155,154,152,153,156,157,159,158,137,136,138,139,142,143,141,140,135,134,132,133,128,129,131,130,172,173,175,174,171,170,168,169,162,163,161,160,165,164,166,167,176,177,179,178,183,182,180,181,190,191,189,188,185,184,186,187},{0,14,28,18,57,55,37,43,115,125,111,97,74,68,86,88,231,233,251,245,222,208,194,204,148,154,136,134,173,163,177,191,231,224,233,238,251,252,245,242,222,217,208,215,194,197,204,203,148,147,154,157,136,143,134,129,173,170,163,164,177,182,191,184,231,228,224,227,233,234,238,237,251,248,252,255,245,246,242,241,222,221,217,218,208,211,215,212,194,193,197,198,204,207,203,200,148,151,147,144,154,153,157,158,136,139,143,140,134,133,129,130,173,174,170,169,163,160,164,167,177,178,182,181,191,188,184,187,231,230,228,229,224,225,227,226,233,232,234,235,238,239,237,236,251,250,248,249,252,253,255,254,245,244,246,247,242,243,241,240,222,223,221,220,217,216,218,219,208,209,211,210,215,214,212,213,194,195,193,192,197,196,198,199,204,205,207,206,203,202,200,201,148,149,151,150,147,146,144,145,154,155,153,152,157,156,158,159,136,137,139,138,143,142,140,141,134,135,133,132,129,128,130,131,173,172,174,175,170,171,169,168,163,162,160,161,164,165,167,166,177,176,178,179,182,183,181,180,191,190,188,189,184,185,187,186},{0,14,28,18,57,55,37,43,114,124,110,96,75,69,87,89,228,234,248,246,221,211,193,207,150,152,138,132,175,161,179,189,228,227,234,237,248,255,246,241,221,218,211,212,193,198,207,200,150,145,152,159,138,141,132,131,175,168,161,166,179,180,189,186,228,231,227,224,234,233,237,238,248,251,255,252,246,245,241,242,221,222,218,217,211,208,212,215,193,194,198,197,207,204,200,203,150,149,145,146,152,155,159,156,138,137,141,142,132,135,131,128,175,172,168,171,161,162,166,165,179,176,180,183,189,190,186,185,228,229,231,230,227,226,224,225,234,235,233,232,237,236,238,239,248,249,251,250,255,254,252,253,246,247,245,244,241,240,242,243,221,220,222,223,218,219,217,216,211,210,208,209,212,213,215,214,193,192,194,195,198,199,197,196,207,206,204,205,200,201,203,202,150,151,149,148,145,144,146,147,152,153,155,154,159,158,156,157,138,139,137,136,141,140,142,143,132,133,135,134,131,130,128,129,175,174,172,173,168,169,171,170,161,160,162,163,166,167,165,164,179,178,176,177,180,181,183,182,189,188,190,191,186,187,185,184},{0,14,28,18,57,55,37,43,114,124,110,96,75,69,87,89,229,235,249,247,220,210,192,206,151,153,139,133,174,160,178,188,229,226,235,236,249,254,247,240,220,219,210,213,192,199,206,201,151,144,153,158,139,140,133,130,174,169,160,167,178,181,188,187,229,230,226,225,235,232,236,239,249,250,254,253,247,244,240,243,220,223,219,216,210,209,213,214,192,195,199,196,206,205,201,202,151,148,144,147,153,154,158,157,139,136,140,143,133,134,130,129,174,173,169,170,160,163,167,164,178,177,181,182,188,191,187,184,229,228,230,231,226,227,225,224,235,234,232,233,236,237,239,238,249,248,250,251,254,255,253,252,247,246,244,245,240,241,243,242,220,221,223,222,219,218,216,217,210,211,209,208,213,212,214,215,192,193,195,194,199,198,196,197,206,207,205,204,201,200,202,203,151,150,148,149,144,145,147,146,153,152,154,155,158,159,157,156,139,138,136,137,140,141,143,142,133,132,134,135,130,131,129,128,174,175,173,172,169,168,170,171,160,161,163,162,167,166,164,165,178,179,177,176,181,180,182,183,188,189,191,190,187,186,184,185},{0,13,27,22,54,59,45,32,109,96,118,123,91,86,64,77,219,214,192,205,237,224,246,251,182,187,173,160,128,141,155,150,219,221,214,208,192,198,205,203,237,235,224,230,246,240,251,253,182,176,187,189,173,171,160,166,128,134,141,139,155,157,150,144,219,216,221,222,214,213,208,211,192,195,198,197,205,206,203,200,237,238,235,232,224,227,230,229,246,245,240,243,251,248,253,254,182,181,176,179,187,184,189,190,173,174,171,168,160,163,166,165,128,131,134,133,141,142,139,136,155,152,157,158,150,149,144,147,219,218,216,217,221,220,222,223,214,215,213,212,208,209,211,210,192,193,195,194,198,199,197,196,205,204,206,207,203,202,200,201,237,236,238,239,235,234,232,233,224,225,227,226,230,231,229,228,246,247,245,244,240,241,243,242,251,250,248,249,253,252,254,255,182,183,181,180,176,177,179,178,187,186,184,185,189,188,190,191,173,172,174,175,171,170,168,169,160,161,163,162,166,167,165,164,128,129,131,130,134,135,133,132,141,140,142,143,139,138,136,137,155,154,152,153,157,156,158,159,150,151,149,148,144,145,147,146},{0,13,27,22,54,59,45,32,109,96,118,123,91,86,64,77,218,215,193,204,236,225,247,250,183,186,172,161,129,140,154,151,218,220,215,209,193,199,204,202,236,234,225,231,247,241,250,252,183,177,186,188,172,170,161,167,129,135,140,138,154,156,151,145,218,217,220,223,215,212,209,210,193,194,199,196,204,207,202,201,236,239,234,233,225,226,231,228,247,244,241,242,250,249,252,255,183,180,177,178,186,185,188,191,172,175,170,169,161,162,167,164,129,130,135,132,140,143,138,137,154,153,156,159,151,148,145,146,218,219,217,216,220,221,223,222,215,214,212,213,209,208,210,211,193,192,194,195,199,198,196,197,204,205,207,206,202,203,201,200,236,237,239,238,234,235,233,232,225,224,226,227,231,230,228,229,247,246,244,245,241,240,242,243,250,251,249,248,252,253,255,254,183,182,180,181,177,176,178,179,186,187,185,184,188,189,191,190,172,173,175,174,170,171,169,168,161,160,162,163,167,166,164,165,129,128,130,131,135,134,132,133,140,141,143,142,138,139,137,136,154,155,153,152,156,157,159,158,151,150,148,149,145,144,146,147},{0,13,27,22,54,59,45,32,108,97,119,122,90,87,65,76,217,212,194,207,239,226,244,249,181,184,174,163,131,142,152,149,217,223,212,210,194,196,207,201,239,233,226,228,244,242,249,255,181,179,184,190,174,168,163,165,131,133,142,136,152,158,149,147,217,218,223,220,212,215,210,209,194,193,196,199,207,204,201,202,239,236,233,234,226,225,228,231,244,247,242,241,249,250,255,252,181,182,179,176,184,187,190,189,174,173,168,171,163,160,165,166,131,128,133,134,142,141,136,139,152,155,158,157,149,150,147,144,217,216,218,219,223,222,220,221,212,213,215,214,210,211,209,208,194,195,193,192,196,197,199,198,207,206,204,205,201,200,202,203,239,238,236,237,233,232,234,235,226,227,225,224,228,229,231,230,244,245,247,246,242,243,241,240,249,248,250,251,255,254,252,253,181,180,182,183,179,178,176,177,184,185,187,186,190,191,189,188,174,175,173,172,168,169,171,170,163,162,160,161,165,164,166,167,131,130,128,129,133,132,134,135,142,143,141,140,136,137,139,138,152,153,155,154,158,159,157,156,149,148,150,151,147,146,144,145},{0,13,27,22,54,59,45,32,108,97,119,122,90,87,65,76,216,213,195,206,238,227,245,248,180,185,175,162,130,143,153,148,216,222,213,211,195,197,206,200,238,232,227,229,245,243,248,254,180,178,185,191,175,169,162,164,130,132,143,137,153,159,148,146,216,219,222,221,213,214,211,208,195,192,197,198,206,205,200,203,238,237,232,235,227,224,229,230,245,246,243,240,248,251,254,253,180,183,178,177,185,186,191,188,175,172,169,170,162,161,164,167,130,129,132,135,143,140,137,138,153,154,159,156,148,151,146,145,216,217,219,218,222,223,221,220,213,212,214,215,211,210,208,209,195,194,192,193,197,196,198,199,206,207,205,204,200,201,203,202,238,239,237,236,232,233,235,234,227,226,224,225,229,228,230,231,245,244,246,247,243,242,240,241,248,249,251,250,254,255,253,252,180,181,183,182,178,179,177,176,185,184,186,187,191,190,188,189,175,174,172,173,169,168,170,171,162,163,161,160,164,165,167,166,130,131,129,128,132,133,135,134,143,142,140,141,137,136,138,139,153,152,154,155,159,158,156,157,148,149,151,150,146,147,145,144},{0,13,27,22,55,58,44,33,111,98,116,121,88,85,67,78,222,211,197,200,233,228,242,255,177,188,170,167,134,139,157,144,222,216,211,213,197,195,200,206,233,239,228,226,242,244,255,249,177,183,188,186,170,172,167,161,134,128,139,141,157,155,144,150,222,221,216,219,211,208,213,214,197,198,195,192,200,203,206,205,233,234,239,236,228,231,226,225,242,241,244,247,255,252,249,250,177,178,183,180,188,191,186,185,170,169,172,175,167,164,161,162,134,133,128,131,139,136,141,142,157,158,155,152,144,147,150,149,222,223,221,220,216,217,219,218,211,210,208,209,213,212,214,215,197,196,198,199,195,194,192,193,200,201,203,202,206,207,205,204,233,232,234,235,239,238,236,237,228,229,231,230,226,227,225,224,242,243,241,240,244,245,247,246,255,254,252,253,249,248,250,251,177,176,178,179,183,182,180,181,188,189,191,190,186,187,185,184,170,171,169,168,172,173,175,174,167,166,164,165,161,160,162,163,134,135,133,132,128,129,131,130,139,138,136,137,141,140,142,143,157,156,158,159,155,154,152,153,144,145,147,146,150,151,149,148},{0,13,27,22,55,58,44,33,111,98,116,121,88,85,67,78,223,210,196,201,232,229,243,254,176,189,171,166,135,138,156,145,223,217,210,212,196,194,201,207,232,238,229,227,243,245,254,248,176,182,189,187,171,173,166,160,135,129,138,140,156,154,145,151,223,220,217,218,210,209,212,215,196,199,194,193,201,202,207,204,232,235,238,237,229,230,227,224,243,240,245,246,254,253,248,251,176,179,182,181,189,190,187,184,171,168,173,174,166,165,160,163,135,132,129,130,138,137,140,143,156,159,154,153,145,146,151,148,223,222,220,221,217,216,218,219,210,211,209,208,212,213,215,214,196,197,199,198,194,195,193,192,201,200,202,203,207,206,204,205,232,233,235,234,238,239,237,236,229,228,230,231,227,226,224,225,243,242,240,241,245,244,246,247,254,255,253,252,248,249,251,250,176,177,179,178,182,183,181,180,189,188,190,191,187,186,184,185,171,170,168,169,173,172,174,175,166,167,165,164,160,161,163,162,135,134,132,133,129,128,130,131,138,139,137,136,140,141,143,142,156,157,159,158,154,155,153,152,145,144,146,147,151,150,148,149},{0,13,27,22,55,58,44,33,110,99,117,120,89,84,66,79,220,209,199,202,235,230,240,253,178,191,169,164,133,136,158,147,220,218,209,215,199,193,202,204,235,237,230,224,240,246,253,251,178,180,191,185,169,175,164,162,133,131,136,142,158,152,147,149,220,223,218,217,209,210,215,212,199,196,193,194,202,201,204,207,235,232,237,238,230,229,224,227,240,243,246,245,253,254,251,248,178,177,180,183,191,188,185,186,169,170,175,172,164,167,162,161,133,134,131,128,136,139,142,141,158,157,152,155,147,144,149,150,220,221,223,222,218,219,217,216,209,208,210,211,215,214,212,213,199,198,196,197,193,192,194,195,202,203,201,200,204,205,207,206,235,234,232,233,237,236,238,239,230,231,229,228,224,225,227,226,240,241,243,242,246,247,245,244,253,252,254,255,251,250,248,249,178,179,177,176,180,181,183,182,191,190,188,189,185,184,186,187,169,168,170,171,175,174,172,173,164,165,167,166,162,163,161,160,133,132,134,135,131,130,128,129,136,137,139,138,142,143,141,140,158,159,157,156,152,153,155,154,147,146,144,145,149,148,150,151},{0,13,27,22,55,58,44,33,110,99,117,120,89,84,66,79,221,208,198,203,234,231,241,252,179,190,168,165,132,137,159,146,221,219,208,214,198,192,203,205,234,236,231,225,241,247,252,250,179,181,190,184,168,174,165,163,132,130,137,143,159,153,146,148,221,222,219,216,208,211,214,213,198,197,192,195,203,200,205,206,234,233,236,239,231,228,225,226,241,242,247,244,252,255,250,249,179,176,181,182,190,189,184,187,168,171,174,173,165,166,163,160,132,135,130,129,137,138,143,140,159,156,153,154,146,145,148,151,221,220,222,223,219,218,216,217,208,209,211,210,214,215,213,212,198,199,197,196,192,193,195,194,203,202,200,201,205,204,206,207,234,235,233,232,236,237,239,238,231,230,228,229,225,224,226,227,241,240,242,243,247,246,244,245,252,253,255,254,250,251,249,248,179,178,176,177,181,180,182,183,190,191,189,188,184,185,187,186,168,169,171,170,174,175,173,172,165,164,166,167,163,162,160,161,132,133,135,134,130,131,129,128,137,136,138,139,143,142,140,141,159,158,156,157,153,152,154,155,146,147,145,144,148,149,151,150},{0,13,26,23,52,57,46,35,104,101,114,127,92,81,70,75,209,220,203,198,229,232,255,242,185,180,163,174,141,128,151,154,209,215,220,218,203,205,198,192,229,227,232,238,255,249,242,244,185,191,180,178,163,165,174,168,141,139,128,134,151,145,154,156,209,210,215,212,220,223,218,217,203,200,205,206,198,197,192,195,229,230,227,224,232,235,238,237,255,252,249,250,242,241,244,247,185,186,191,188,180,183,178,177,163,160,165,166,174,173,168,171,141,142,139,136,128,131,134,133,151,148,145,146,154,153,156,159,209,208,210,211,215,214,212,213,220,221,223,222,218,219,217,216,203,202,200,201,205,204,206,207,198,199,197,196,192,193,195,194,229,228,230,231,227,226,224,225,232,233,235,234,238,239,237,236,255,254,252,253,249,248,250,251,242,243,241,240,244,245,247,246,185,184,186,187,191,190,188,189,180,181,183,182,178,179,177,176,163,162,160,161,165,164,166,167,174,175,173,172,168,169,171,170,141,140,142,143,139,138,136,137,128,129,131,130,134,135,133,132,151,150,148,149,145,144,146,147,154,155,153,152,156,157,159,158},{0,13,26,23,52,57,46,35,104,101,114,127,92,81,70,75,208,221,202,199,228,233,254,243,184,181,162,175,140,129,150,155,208,214,221,219,202,204,199,193,228,226,233,239,254,248,243,245,184,190,181,179,162,164,175,169,140,138,129,135,150,144,155,157,208,211,214,213,221,222,219,216,202,201,204,207,199,196,193,194,228,231,226,225,233,234,239,236,254,253,248,251,243,240,245,246,184,187,190,189,181,182,179,176,162,161,164,167,175,172,169,170,140,143,138,137,129,130,135,132,150,149,144,147,155,152,157,158,208,209,211,210,214,215,213,212,221,220,222,223,219,218,216,217,202,203,201,200,204,205,207,206,199,198,196,197,193,192,194,195,228,229,231,230,226,227,225,224,233,232,234,235,239,238,236,237,254,255,253,252,248,249,251,250,243,242,240,241,245,244,246,247,184,185,187,186,190,191,189,188,181,180,182,183,179,178,176,177,162,163,161,160,164,165,167,166,175,174,172,173,169,168,170,171,140,141,143,142,138,139,137,136,129,128,130,131,135,134,132,133,150,151,149,148,144,145,147,146,155,154,152,153,157,156,158,159},{0,13,26,23,52,57,46,35,105,100,115,126,93,80,71,74,211,222,201,196,231,234,253,240,186,183,160,173,142,131,148,153,211,213,222,216,201,207,196,194,231,225,234,236,253,251,240,246,186,188,183,177,160,166,173,171,142,136,131,133,148,146,153,159,211,208,213,214,222,221,216,219,201,202,207,204,196,199,194,193,231,228,225,226,234,233,236,239,253,254,251,248,240,243,246,245,186,185,188,191,183,180,177,178,160,163,166,165,173,174,171,168,142,141,136,139,131,128,133,134,148,151,146,145,153,154,159,156,211,210,208,209,213,212,214,215,222,223,221,220,216,217,219,218,201,200,202,203,207,206,204,205,196,197,199,198,194,195,193,192,231,230,228,229,225,224,226,227,234,235,233,232,236,237,239,238,253,252,254,255,251,250,248,249,240,241,243,242,246,247,245,244,186,187,185,184,188,189,191,190,183,182,180,181,177,176,178,179,160,161,163,162,166,167,165,164,173,172,174,175,171,170,168,169,142,143,141,140,136,137,139,138,131,130,128,129,133,132,134,135,148,149,151,150,146,147,145,144,153,152,154,155,159,158,156,157},{0,13,26,23,52,57,46,35,105,100,115,126,93,80,71,74,210,223,200,197,230,235,252,241,187,182,161,172,143,130,149,152,210,212,223,217,200,206,197,195,230,224,235,237,252,250,241,247,187,189,182,176,161,167,172,170,143,137,130,132,149,147,152,158,210,209,212,215,223,220,217,218,200,203,206,205,197,198,195,192,230,229,224,227,235,232,237,238,252,255,250,249,241,242,247,244,187,184,189,190,182,181,176,179,161,162,167,164,172,175,170,169,143,140,137,138,130,129,132,135,149,150,147,144,152,155,158,157,210,211,209,208,212,213,215,214,223,222,220,221,217,216,218,219,200,201,203,202,206,207,205,204,197,196,198,199,195,194,192,193,230,231,229,228,224,225,227,226,235,234,232,233,237,236,238,239,252,253,255,254,250,251,249,248,241,240,242,243,247,246,244,245,187,186,184,185,189,188,190,191,182,183,181,180,176,177,179,178,161,160,162,163,167,166,164,165,172,173,175,174,170,171,169,168,143,142,140,141,137,136,138,139,130,131,129,128,132,133,135,134,149,148,150,151,147,146,144,145,152,153,155,154,158,159,157,156},{0,13,26,23,53,56,47,34,106,103,112,125,95,82,69,72,212,217,206,195,225,236,251,246,190,179,164,169,139,134,145,156,212,210,217,223,206,200,195,197,225,231,236,234,251,253,246,240,190,184,179,181,164,162,169,175,139,141,134,128,145,151,156,154,212,215,210,209,217,218,223,220,206,205,200,203,195,192,197,198,225,226,231,228,236,239,234,233,251,248,253,254,246,245,240,243,190,189,184,187,179,176,181,182,164,167,162,161,169,170,175,172,139,136,141,142,134,133,128,131,145,146,151,148,156,159,154,153,212,213,215,214,210,211,209,208,217,216,218,219,223,222,220,221,206,207,205,204,200,201,203,202,195,194,192,193,197,196,198,199,225,224,226,227,231,230,228,229,236,237,239,238,234,235,233,232,251,250,248,249,253,252,254,255,246,247,245,244,240,241,243,242,190,191,189,188,184,185,187,186,179,178,176,177,181,180,182,183,164,165,167,166,162,163,161,160,169,168,170,171,175,174,172,173,139,138,136,137,141,140,142,143,134,135,133,132,128,129,131,130,145,144,146,147,151,150,148,149,156,157,159,158,154,155,153,152},{0,13,26,23,53,56,47,34,106,103,112,125,95,82,69,72,213,216,207,194,224,237,250,247,191,178,165,168,138,135,144,157,213,211,216,222,207,201,194,196,224,230,237,235,250,252,247,241,191,185,178,180,165,163,168,174,138,140,135,129,144,150,157,155,213,214,211,208,216,219,222,221,207,204,201,202,194,193,196,199,224,227,230,229,237,238,235,232,250,249,252,255,247,244,241,242,191,188,185,186,178,177,180,183,165,166,163,160,168,171,174,173,138,137,140,143,135,132,129,130,144,147,150,149,157,158,155,152,213,212,214,215,211,210,208,209,216,217,219,218,222,223,221,220,207,206,204,205,201,200,202,203,194,195,193,192,196,197,199,198,224,225,227,226,230,231,229,228,237,236,238,239,235,234,232,233,250,251,249,248,252,253,255,254,247,246,244,245,241,240,242,243,191,190,188,189,185,184,186,187,178,179,177,176,180,181,183,182,165,164,166,167,163,162,160,161,168,169,171,170,174,175,173,172,138,139,137,136,140,141,143,142,135,134,132,133,129,128,130,131,144,145,147,146,150,151,149,148,157,156,158,159,155,154,152,153},{0,13,26,23,53,56,47,34,107,102,113,124,94,83,68,73,214,219,204,193,227,238,249,244,189,176,167,170,136,133,146,159,214,208,219,221,204,202,193,199,227,229,238,232,249,255,244,242,189,187,176,182,167,161,170,172,136,142,133,131,146,148,159,153,214,213,208,211,219,216,221,222,204,207,202,201,193,194,199,196,227,224,229,230,238,237,232,235,249,250,255,252,244,247,242,241,189,190,187,184,176,179,182,181,167,164,161,162,170,169,172,175,136,139,142,141,133,134,131,128,146,145,148,151,159,156,153,154,214,215,213,212,208,209,211,210,219,218,216,217,221,220,222,223,204,205,207,206,202,203,201,200,193,192,194,195,199,198,196,197,227,226,224,225,229,228,230,231,238,239,237,236,232,233,235,234,249,248,250,251,255,254,252,253,244,245,247,246,242,243,241,240,189,188,190,191,187,186,184,185,176,177,179,178,182,183,181,180,167,166,164,165,161,160,162,163,170,171,169,168,172,173,175,174,136,137,139,138,142,143,141,140,133,132,134,135,131,130,128,129,146,147,145,144,148,149,151,150,159,158,156,157,153,152,154,155},{0,13,26,23,53,56,47,34,107,102,113,124,94,83,68,73,215,218,205,192,226,239,248,245,188,177,166,171,137,132,147,158,215,209,218,220,205,203,192,198,226,228,239,233,248,254,245,243,188,186,177,183,166,160,171,173,137,143,132,130,147,149,158,152,215,212,209,210,218,217,220,223,205,206,203,200,192,195,198,197,226,225,228,231,239,236,233,234,248,251,254,253,245,246,243,240,188,191,186,185,177,178,183,180,166,165,160,163,171,168,173,174,137,138,143,140,132,135,130,129,147,144,149,150,158,157,152,155,215,214,212,213,209,208,210,211,218,219,217,216,220,221,223,222,205,204,206,207,203,202,200,201,192,193,195,194,198,199,197,196,226,227,225,224,228,229,231,230,239,238,236,237,233,232,234,235,248,249,251,250,254,255,253,252,245,244,246,247,243,242,240,241,188,189,191,190,186,187,185,184,177,176,178,179,183,182,180,181,166,167,165,164,160,161,163,162,171,170,168,169,173,172,174,175,137,136,138,139,143,142,140,141,132,133,135,134,130,131,129,128,147,146,144,145,149,148,150,151,158,159,157,156,152,153,155,154},{0,12,25,21,51,63,42,38,102,106,127,115,85,89,76,64,204,192,213,217,255,243,230,234,170,166,179,191,153,149,128,140,204,202,192,198,213,211,217,223,255,249,243,245,230,224,234,236,170,172,166,160,179,181,191,185,153,159,149,147,128,134,140,138,204,207,202,201,192,195,198,197,213,214,211,208,217,218,223,220,255,252,249,250,243,240,245,246,230,229,224,227,234,233,236,239,170,169,172,175,166,165,160,163,179,176,181,182,191,188,185,186,153,154,159,156,149,150,147,144,128,131,134,133,140,143,138,137,204,205,207,206,202,203,201,200,192,193,195,194,198,199,197,196,213,212,214,215,211,210,208,209,217,216,218,219,223,222,220,221,255,254,252,253,249,248,250,251,243,242,240,241,245,244,246,247,230,231,229,228,224,225,227,226,234,235,233,232,236,237,239,238,170,171,169,168,172,173,175,174,166,167,165,164,160,161,163,162,179,178,176,177,181,180,182,183,191,190,188,189,185,184,186,187,153,152,154,155,159,158,156,157,149,148,150,151,147,146,144,145,128,129,131,130,134,135,133,132,140,141,143,142,138,139,137,136},{0,12,25,21,51,63,42,38,102,106,127,115,85,89,76,64,205,193,212,216,254,242,231,235,171,167,178,190,152,148,129,141,205,203,193,199,212,210,216,222,254,248,242,244,231,225,235,237,171,173,167,161,178,180,190,184,152,158,148,146,129,135,141,139,205,206,203,200,193,194,199,196,212,215,210,209,216,219,222,221,254,253,248,251,242,241,244,247,231,228,225,226,235,232,237,238,171,168,173,174,167,164,161,162,178,177,180,183,190,189,184,187,152,155,158,157,148,151,146,145,129,130,135,132,141,142,139,136,205,204,206,207,203,202,200,201,193,192,194,195,199,198,196,197,212,213,215,214,210,211,209,208,216,217,219,218,222,223,221,220,254,255,253,252,248,249,251,250,242,243,241,240,244,245,247,246,231,230,228,229,225,224,226,227,235,234,232,233,237,236,238,239,171,170,168,169,173,172,174,175,167,166,164,165,161,160,162,163,178,179,177,176,180,181,183,182,190,191,189,188,184,185,187,186,152,153,155,154,158,159,157,156,148,149,151,150,146,147,145,144,129,128,130,131,135,134,132,133,141,140,142,143,139,138,136,137},{0,12,25,21,51,63,42,38,103,107,126,114,84,88,77,65,206,194,215,219,253,241,228,232,169,165,176,188,154,150,131,143,206,200,194,196,215,209,219,221,253,251,241,247,228,226,232,238,169,175,165,163,176,182,188,186,154,156,150,144,131,133,143,137,206,205,200,203,194,193,196,199,215,212,209,210,219,216,221,222,253,254,251,248,241,242,247,244,228,231,226,225,232,235,238,237,169,170,175,172,165,166,163,160,176,179,182,181,188,191,186,185,154,153,156,159,150,149,144,147,131,128,133,134,143,140,137,138,206,207,205,204,200,201,203,202,194,195,193,192,196,197,199,198,215,214,212,213,209,208,210,211,219,218,216,217,221,220,222,223,253,252,254,255,251,250,248,249,241,240,242,243,247,246,244,245,228,229,231,230,226,227,225,224,232,233,235,234,238,239,237,236,169,168,170,171,175,174,172,173,165,164,166,167,163,162,160,161,176,177,179,178,182,183,181,180,188,189,191,190,186,187,185,184,154,155,153,152,156,157,159,158,150,151,149,148,144,145,147,146,131,130,128,129,133,132,134,135,143,142,140,141,137,136,138,139},{0,12,25,21,51,63,42,38,103,107,126,114,84,88,77,65,207,195,214,218,252,240,229,233,168,164,177,189,155,151,130,142,207,201,195,197,214,208,218,220,252,250,240,246,229,227,233,239,168,174,164,162,177,183,189,187,155,157,151,145,130,132,142,136,207,204,201,202,195,192,197,198,214,213,208,211,218,217,220,223,252,255,250,249,240,243,246,245,229,230,227,224,233,234,239,236,168,171,174,173,164,167,162,161,177,178,183,180,189,190,187,184,155,152,157,158,151,148,145,146,130,129,132,135,142,141,136,139,207,206,204,205,201,200,202,203,195,194,192,193,197,196,198,199,214,215,213,212,208,209,211,210,218,219,217,216,220,221,223,222,252,253,255,254,250,251,249,248,240,241,243,242,246,247,245,244,229,228,230,231,227,226,224,225,233,232,234,235,239,238,236,237,168,169,171,170,174,175,173,172,164,165,167,166,162,163,161,160,177,176,178,179,183,182,180,181,189,188,190,191,187,186,184,185,155,154,152,153,157,156,158,159,151,150,148,149,145,144,146,147,130,131,129,128,132,133,135,134,142,143,141,140,136,137,139,138},{0,12,25,21,50,62,43,39,100,104,125,113,86,90,79,67,201,197,208,220,251,247,226,238,173,161,180,184,159,147,134,138,201,207,197,195,208,214,220,218,251,253,247,241,226,228,238,232,173,171,161,167,180,178,184,190,159,153,147,149,134,128,138,140,201,202,207,204,197,198,195,192,208,211,214,213,220,223,218,217,251,248,253,254,247,244,241,242,226,225,228,231,238,237,232,235,173,174,171,168,161,162,167,164,180,183,178,177,184,187,190,189,159,156,153,154,147,144,149,150,134,133,128,131,138,137,140,143,201,200,202,203,207,206,204,205,197,196,198,199,195,194,192,193,208,209,211,210,214,215,213,212,220,221,223,222,218,219,217,216,251,250,248,249,253,252,254,255,247,246,244,245,241,240,242,243,226,227,225,224,228,229,231,230,238,239,237,236,232,233,235,234,173,172,174,175,171,170,168,169,161,160,162,163,167,166,164,165,180,181,183,182,178,179,177,176,184,185,187,186,190,191,189,188,159,158,156,157,153,152,154,155,147,146,144,145,149,148,150,151,134,135,133,132,128,129,131,130,138,139,137,136,140,141,143,142},{0,12,25,21,50,62,43,39,100,104,125,113,86,90,79,67,200,196,209,221,250,246,227,239,172,160,181,185,158,146,135,139,200,206,196,194,209,215,221,219,250,252,246,240,227,229,239,233,172,170,160,166,181,179,185,191,158,152,146,148,135,129,139,141,200,203,206,205,196,199,194,193,209,210,215,212,221,222,219,216,250,249,252,255,246,245,240,243,227,224,229,230,239,236,233,234,172,175,170,169,160,163,166,165,181,182,179,176,185,186,191,188,158,157,152,155,146,145,148,151,135,132,129,130,139,136,141,142,200,201,203,202,206,207,205,204,196,197,199,198,194,195,193,192,209,208,210,211,215,214,212,213,221,220,222,223,219,218,216,217,250,251,249,248,252,253,255,254,246,247,245,244,240,241,243,242,227,226,224,225,229,228,230,231,239,238,236,237,233,232,234,235,172,173,175,174,170,171,169,168,160,161,163,162,166,167,165,164,181,180,182,183,179,178,176,177,185,184,186,187,191,190,188,189,158,159,157,156,152,153,155,154,146,147,145,144,148,149,151,150,135,134,132,133,129,128,130,131,139,138,136,137,141,140,142,143},{0,12,25,21,50,62,43,39,101,105,124,112,87,91,78,66,203,199,210,222,249,245,224,236,174,162,183,187,156,144,133,137,203,205,199,193,210,212,222,216,249,255,245,243,224,230,236,234,174,168,162,164,183,177,187,189,156,154,144,150,133,131,137,143,203,200,205,206,199,196,193,194,210,209,212,215,222,221,216,219,249,250,255,252,245,246,243,240,224,227,230,229,236,239,234,233,174,173,168,171,162,161,164,167,183,180,177,178,187,184,189,190,156,159,154,153,144,147,150,149,133,134,131,128,137,138,143,140,203,202,200,201,205,204,206,207,199,198,196,197,193,192,194,195,210,211,209,208,212,213,215,214,222,223,221,220,216,217,219,218,249,248,250,251,255,254,252,253,245,244,246,247,243,242,240,241,224,225,227,226,230,231,229,228,236,237,239,238,234,235,233,232,174,175,173,172,168,169,171,170,162,163,161,160,164,165,167,166,183,182,180,181,177,176,178,179,187,186,184,185,189,188,190,191,156,157,159,158,154,155,153,152,144,145,147,146,150,151,149,148,133,132,134,135,131,130,128,129,137,136,138,139,143,142,140,141},{0,12,25,21,50,62,43,39,101,105,124,112,87,91,78,66,202,198,211,223,248,244,225,237,175,163,182,186,157,145,132,136,202,204,198,192,211,213,223,217,248,254,244,242,225,231,237,235,175,169,163,165,182,176,186,188,157,155,145,151,132,130,136,142,202,201,204,207,198,197,192,195,211,208,213,214,223,220,217,218,248,251,254,253,244,247,242,241,225,226,231,228,237,238,235,232,175,172,169,170,163,160,165,166,182,181,176,179,186,185,188,191,157,158,155,152,145,146,151,148,132,135,130,129,136,139,142,141,202,203,201,200,204,205,207,206,198,199,197,196,192,193,195,194,211,210,208,209,213,212,214,215,223,222,220,221,217,216,218,219,248,249,251,250,254,255,253,252,244,245,247,246,242,243,241,240,225,224,226,227,231,230,228,229,237,236,238,239,235,234,232,233,175,174,172,173,169,168,170,171,163,162,160,161,165,164,166,167,182,183,181,180,176,177,179,178,186,187,185,184,188,189,191,190,157,156,158,159,155,154,152,153,145,144,146,147,151,150,148,149,132,133,135,134,130,131,129,128,136,137,139,138,142,143,141,140},{0,12,24,20,49,61,41,37,99,111,123,119,82,94,74,70,198,202,222,210,247,251,239,227,165,169,189,177,148,152,140,128,198,192,202,204,222,216,210,212,247,241,251,253,239,233,227,229,165,163,169,175,189,187,177,183,148,146,152,158,140,138,128,134,198,197,192,195,202,201,204,207,222,221,216,219,210,209,212,215,247,244,241,242,251,248,253,254,239,236,233,234,227,224,229,230,165,166,163,160,169,170,175,172,189,190,187,184,177,178,183,180,148,151,146,145,152,155,158,157,140,143,138,137,128,131,134,133,198,199,197,196,192,193,195,194,202,203,201,200,204,205,207,206,222,223,221,220,216,217,219,218,210,211,209,208,212,213,215,214,247,246,244,245,241,240,242,243,251,250,248,249,253,252,254,255,239,238,236,237,233,232,234,235,227,226,224,225,229,228,230,231,165,164,166,167,163,162,160,161,169,168,170,171,175,174,172,173,189,188,190,191,187,186,184,185,177,176,178,179,183,182,180,181,148,149,151,150,146,147,145,144,152,153,155,154,158,159,157,156,140,141,143,142,138,139,137,136,128,129,131,130,134,135,133,132},{0,12,24,20,49,61,41,37,99,111,123,119,82,94,74,70,199,203,223,211,246,250,238,226,164,168,188,176,149,153,141,129,199,193,203,205,223,217,211,213,246,240,250,252,238,232,226,228,164,162,168,174,188,186,176,182,149,147,153,159,141,139,129,135,199,196,193,194,203,200,205,206,223,220,217,218,211,208,213,214,246,245,240,243,250,249,252,255,238,237,232,235,226,225,228,231,164,167,162,161,168,171,174,173,188,191,186,185,176,179,182,181,149,150,147,144,153,154,159,156,141,142,139,136,129,130,135,132,199,198,196,197,193,192,194,195,203,202,200,201,205,204,206,207,223,222,220,221,217,216,218,219,211,210,208,209,213,212,214,215,246,247,245,244,240,241,243,242,250,251,249,248,252,253,255,254,238,239,237,236,232,233,235,234,226,227,225,224,228,229,231,230,164,165,167,166,162,163,161,160,168,169,171,170,174,175,173,172,188,189,191,190,186,187,185,184,176,177,179,178,182,183,181,180,149,148,150,151,147,146,144,145,153,152,154,155,159,158,156,157,141,140,142,143,139,138,136,137,129,128,130,131,135,134,132,133},{0,12,24,20,49,61,41,37,98,110,122,118,83,95,75,71,196,200,220,208,245,249,237,225,166,170,190,178,151,155,143,131,196,194,200,206,220,218,208,214,245,243,249,255,237,235,225,231,166,160,170,172,190,184,178,180,151,145,155,157,143,137,131,133,196,199,194,193,200,203,206,205,220,223,218,217,208,211,214,213,245,246,243,240,249,250,255,252,237,238,235,232,225,226,231,228,166,165,160,163,170,169,172,175,190,189,184,187,178,177,180,183,151,148,145,146,155,152,157,158,143,140,137,138,131,128,133,134,196,197,199,198,194,195,193,192,200,201,203,202,206,207,205,204,220,221,223,222,218,219,217,216,208,209,211,210,214,215,213,212,245,244,246,247,243,242,240,241,249,248,250,251,255,254,252,253,237,236,238,239,235,234,232,233,225,224,226,227,231,230,228,229,166,167,165,164,160,161,163,162,170,171,169,168,172,173,175,174,190,191,189,188,184,185,187,186,178,179,177,176,180,181,183,182,151,150,148,149,145,144,146,147,155,154,152,153,157,156,158,159,143,142,140,141,137,136,138,139,131,130,128,129,133,132,134,135},{0,12,24,20,49,61,41,37,98,110,122,118,83,95,75,71,197,201,221,209,244,248,236,224,167,171,191,179,150,154,142,130,197,195,201,207,221,219,209,215,244,242,248,254,236,234,224,230,167,161,171,173,191,185,179,181,150,144,154,156,142,136,130,132,197,198,195,192,201,202,207,204,221,222,219,216,209,210,215,212,244,247,242,241,248,251,254,253,236,239,234,233,224,227,230,229,167,164,161,162,171,168,173,174,191,188,185,186,179,176,181,182,150,149,144,147,154,153,156,159,142,141,136,139,130,129,132,135,197,196,198,199,195,194,192,193,201,200,202,203,207,206,204,205,221,220,222,223,219,218,216,217,209,208,210,211,215,214,212,213,244,245,247,246,242,243,241,240,248,249,251,250,254,255,253,252,236,237,239,238,234,235,233,232,224,225,227,226,230,231,229,228,167,166,164,165,161,160,162,163,171,170,168,169,173,172,174,175,191,190,188,189,185,184,186,187,179,178,176,177,181,180,182,183,150,151,149,148,144,145,147,146,154,155,153,152,156,157,159,158,142,143,141,140,136,137,139,138,130,131,129,128,132,133,135,134},{0,12,24,20,48,60,40,36,97,109,121,117,81,93,73,69,195,207,219,215,243,255,235,231,162,174,186,182,146,158,138,134,195,197,207,201,219,221,215,209,243,245,255,249,235,237,231,225,162,164,174,168,186,188,182,176,146,148,158,152,138,140,134,128,195,192,197,198,207,204,201,202,219,216,221,222,215,212,209,210,243,240,245,246,255,252,249,250,235,232,237,238,231,228,225,226,162,161,164,167,174,173,168,171,186,185,188,191,182,181,176,179,146,145,148,151,158,157,152,155,138,137,140,143,134,133,128,131,195,194,192,193,197,196,198,199,207,206,204,205,201,200,202,203,219,218,216,217,221,220,222,223,215,214,212,213,209,208,210,211,243,242,240,241,245,244,246,247,255,254,252,253,249,248,250,251,235,234,232,233,237,236,238,239,231,230,228,229,225,224,226,227,162,163,161,160,164,165,167,166,174,175,173,172,168,169,171,170,186,187,185,184,188,189,191,190,182,183,181,180,176,177,179,178,146,147,145,144,148,149,151,150,158,159,157,156,152,153,155,154,138,139,137,136,140,141,143,142,134,135,133,132,128,129,131,130},{0,12,24,20,48,60,40,36,97,109,121,117,81,93,73,69,194,206,218,214,242,254,234,230,163,175,187,183,147,159,139,135,194,196,206,200,218,220,214,208,242,244,254,248,234,236,230,224,163,165,175,169,187,189,183,177,147,149,159,153,139,141,135,129,194,193,196,199,206,205,200,203,218,217,220,223,214,213,208,211,242,241,244,247,254,253,248,251,234,233,236,239,230,229,224,227,163,160,165,166,175,172,169,170,187,184,189,190,183,180,177,178,147,144,149,150,159,156,153,154,139,136,141,142,135,132,129,130,194,195,193,192,196,197,199,198,206,207,205,204,200,201,203,202,218,219,217,216,220,221,223,222,214,215,213,212,208,209,211,210,242,243,241,240,244,245,247,246,254,255,253,252,248,249,251,250,234,235,233,232,236,237,239,238,230,231,229,228,224,225,227,226,163,162,160,161,165,164,166,167,175,174,172,173,169,168,170,171,187,186,184,185,189,188,190,191,183,182,180,181,177,176,178,179,147,146,144,145,149,148,150,151,159,158,156,157,153,152,154,155,139,138,136,137,141,140,142,143,135,134,132,133,129,128,130,131},{0,12,24,20,48,60,40,36,96,108,120,116,80,92,72,68,193,205,217,213,241,253,233,229,161,173,185,181,145,157,137,133,193,199,205,203,217,223,213,211,241,247,253,251,233,239,229,227,161,167,173,171,185,191,181,179,145,151,157,155,137,143,133,131,193,194,199,196,205,206,203,200,217,218,223,220,213,214,211,208,241,242,247,244,253,254,251,248,233,234,239,236,229,230,227,224,161,162,167,164,173,174,171,168,185,186,191,188,181,182,179,176,145,146,151,148,157,158,155,152,137,138,143,140,133,134,131,128,193,192,194,195,199,198,196,197,205,204,206,207,203,202,200,201,217,216,218,219,223,222,220,221,213,212,214,215,211,210,208,209,241,240,242,243,247,246,244,245,253,252,254,255,251,250,248,249,233,232,234,235,239,238,236,237,229,228,230,231,227,226,224,225,161,160,162,163,167,166,164,165,173,172,174,175,171,170,168,169,185,184,186,187,191,190,188,189,181,180,182,183,179,178,176,177,145,144,146,147,151,150,148,149,157,156,158,159,155,154,152,153,137,136,138,139,143,142,140,141,133,132,134,135,131,130,128,129},{0,12,24,20,48,60,40,36,96,108,120,116,80,92,72,68,192,204,216,212,240,252,232,228,160,172,184,180,144,156,136,132,192,198,204,202,216,222,212,210,240,246,252,250,232,238,228,226,160,166,172,170,184,190,180,178,144,150,156,154,136,142,132,130,192,195,198,197,204,207,202,201,216,219,222,221,212,215,210,209,240,243,246,245,252,255,250,249,232,235,238,237,228,231,226,225,160,163,166,165,172,175,170,169,184,187,190,189,180,183,178,177,144,147,150,149,156,159,154,153,136,139,142,141,132,135,130,129,192,193,195,194,198,199,197,196,204,205,207,206,202,203,201,200,216,217,219,218,222,223,221,220,212,213,215,214,210,211,209,208,240,241,243,242,246,247,245,244,252,253,255,254,250,251,249,248,232,233,235,234,238,239,237,236,228,229,231,230,226,227,225,224,160,161,163,162,166,167,165,164,172,173,175,174,170,171,169,168,184,185,187,186,190,191,189,188,180,181,183,182,178,179,177,176,144,145,147,146,150,151,149,148,156,157,159,158,154,155,153,152,136,137,139,138,142,143,141,140,132,133,135,134,130,131,129,128}};
